Debugging region
This commit is contained in:
1 parent
353cd0ab23
commit
0a78958e44
2 files changed
+2
-3
No files matched your search
@@ -73,8 +73,7 @@ public class LoadCharacterMsg extends ClientNetMsg {
|
||||
if (absChar != null && absChar.getObjectType() == GameObjectType.NPC) {
|
||||
NPC npc = (NPC) absChar;
|
||||
|
||||
|
||||
if (npc.building != null) {
|
||||
if (npc.region != null) {
|
||||
writer.putInt(npc.getRegion().getLevel());
|
||||
writer.putInt(npc.getRegion().getRoom());
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user