Fixed bug with creating a character

This commit is contained in:
Obique
2015-01-15 02:20:02 -06:00
committed by Obique
parent 5fe7cf6248
commit f5f73473cb
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ public class ObjectManager extends Manager {
private void updateAwarenessForObject(SWGObject obj) {
Location location = obj.getLocation();
if (location == null)
if (location == null || location.getTerrain() == null)
return;
List <Player> updatedAware = new ArrayList<Player>();
double x = location.getX();