forked from MagicBane/Server
Update to info output.
This commit is contained in:
@@ -393,10 +393,16 @@ public class InfoCmd extends AbstractDevCmd {
|
|||||||
|
|
||||||
if (targetNPC.region != null) {
|
if (targetNPC.region != null) {
|
||||||
output += newline;
|
output += newline;
|
||||||
output += "BuildingID : " + targetNPC.region.parentBuildingID;
|
output += "Region found: " + "Building : " + targetNPC.region.parentBuildingID + newline;
|
||||||
output += "building level : " + targetNPC.region.level;
|
;
|
||||||
output += "building room : " + targetNPC.region.room;
|
output += "building level : " + targetNPC.region.level + newline;
|
||||||
} else if (targetNPC.getBuilding() != null) {
|
output += "building room : " + targetNPC.region.room + newline;
|
||||||
|
} else {
|
||||||
|
output += newline;
|
||||||
|
output += "No region was found.";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (targetNPC.getBuilding() != null) {
|
||||||
output += newline;
|
output += newline;
|
||||||
output += "Building : " + targetNPC.getBuilding();
|
output += "Building : " + targetNPC.getBuilding();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user