Fixed EffectZone cancel task NPE.
This commit is contained in:
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -241,9 +241,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -247,9 +247,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -249,9 +249,12 @@ public class EffectZone extends ZoneType
|
||||
}
|
||||
|
||||
if (getCharactersInside().isEmpty())
|
||||
{
|
||||
if (_task != null)
|
||||
{
|
||||
_task.cancel(false);
|
||||
_task = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user