|
|
@ -391,15 +391,15 @@ public class InfoCmd extends AbstractDevCmd { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (targetNPC.getRegion() != null){ |
|
|
|
if (targetNPC.region != null) { |
|
|
|
output += newline; |
|
|
|
output += newline; |
|
|
|
output += "BuildingID : " + targetNPC.getRegion().parentBuildingID; |
|
|
|
output += "BuildingID : " + targetNPC.region.parentBuildingID; |
|
|
|
output += "building level : " + targetNPC.getRegion().level; |
|
|
|
output += "building level : " + targetNPC.region.level; |
|
|
|
output += "building room : " + targetNPC.getRegion().room; |
|
|
|
output += "building room : " + targetNPC.region.room; |
|
|
|
}else if(targetNPC.getBuilding() != null) { |
|
|
|
} else if (targetNPC.getBuilding() != null) { |
|
|
|
output += newline; |
|
|
|
output += newline; |
|
|
|
output += "Building : " + targetNPC.getBuilding(); |
|
|
|
output += "Building : " + targetNPC.getBuilding(); |
|
|
|
}else{ |
|
|
|
} else { |
|
|
|
output += newline; |
|
|
|
output += newline; |
|
|
|
output += "No building found."; |
|
|
|
output += "No building found."; |
|
|
|
} |
|
|
|
} |
|
|
@ -463,13 +463,13 @@ public class InfoCmd extends AbstractDevCmd { |
|
|
|
output += "Parent Zone LoadNum : " + targetMob.getParentZone().getLoadNum(); |
|
|
|
output += "Parent Zone LoadNum : " + targetMob.getParentZone().getLoadNum(); |
|
|
|
output += newline; |
|
|
|
output += newline; |
|
|
|
output += "isMoving : " + targetMob.isMoving(); |
|
|
|
output += "isMoving : " + targetMob.isMoving(); |
|
|
|
if (targetMob.getRegion() != null){ |
|
|
|
if (targetMob.region != null) { |
|
|
|
output += newline; |
|
|
|
output += newline; |
|
|
|
output += "BuildingID : " + targetMob.getRegion().parentBuildingID; |
|
|
|
output += "BuildingID : " + targetMob.region.parentBuildingID; |
|
|
|
output += "building level : " + targetMob.getRegion().level; |
|
|
|
output += "building level : " + targetMob.region.level; |
|
|
|
output += "building room : " + targetMob.getRegion().room; |
|
|
|
output += "building room : " + targetMob.region.room; |
|
|
|
} |
|
|
|
} |
|
|
|
if(targetMob.building != null) { |
|
|
|
if (targetMob.building != null) { |
|
|
|
output += "Building Name: " + targetMob.building.getName() + newline; |
|
|
|
output += "Building Name: " + targetMob.building.getName() + newline; |
|
|
|
output += "BuildingID : " + targetMob.building + newline; |
|
|
|
output += "BuildingID : " + targetMob.building + newline; |
|
|
|
output += "Bind Loc : " + targetMob.getBindLoc() + newline; |
|
|
|
output += "Bind Loc : " + targetMob.getBindLoc() + newline; |
|
|
|