Some synchronized changes.

This commit is contained in:
MobiusDev
2016-04-30 20:04:02 +00:00
parent 15d263a788
commit b001087964
17 changed files with 127 additions and 492 deletions

View File

@ -246,10 +246,7 @@ public class Quest extends AbstractScript implements IIdentifiable
{
synchronized (this)
{
if (_questTimers == null)
{
_questTimers = new ConcurrentHashMap<>(1);
}
_questTimers = new ConcurrentHashMap<>(1);
}
}
return _questTimers;
@ -2799,10 +2796,7 @@ public class Quest extends AbstractScript implements IIdentifiable
{
synchronized (this)
{
if (_startCondition == null)
{
_startCondition = new LinkedHashMap<>(1);
}
_startCondition = new LinkedHashMap<>(1);
}
}
return _startCondition;