diff --git a/src/engine/net/client/msg/LoadCharacterMsg.java b/src/engine/net/client/msg/LoadCharacterMsg.java index 706026e9..be53a960 100644 --- a/src/engine/net/client/msg/LoadCharacterMsg.java +++ b/src/engine/net/client/msg/LoadCharacterMsg.java @@ -74,7 +74,7 @@ public class LoadCharacterMsg extends ClientNetMsg { NPC npc = (NPC) absChar; - if (npc.getRegion() != null) { + if (npc.building != null) { writer.putInt(npc.getRegion().getLevel()); writer.putInt(npc.getRegion().getRoom()); } else {