Fixed probable findCloseObjects NPE.
This commit is contained in:
parent
a9fe8a02cd
commit
7adde43b06
@ -138,7 +138,7 @@ public class WorldObjectKnownList
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (_activeObject != null)
|
||||||
{
|
{
|
||||||
// Go through all visible WorldObject near the Creature
|
// Go through all visible WorldObject near the Creature
|
||||||
for (WorldObject playable : World.getInstance().getVisiblePlayers(_activeObject))
|
for (WorldObject playable : World.getInstance().getVisiblePlayers(_activeObject))
|
||||||
|
Loading…
Reference in New Issue
Block a user