mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-07-29 23:15:52 -04:00
Fixed bug with creating a character
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user