forked from MagicBane/Server
Debugging region
This commit is contained in:
@@ -73,8 +73,7 @@ public class LoadCharacterMsg extends ClientNetMsg {
|
|||||||
if (absChar != null && absChar.getObjectType() == GameObjectType.NPC) {
|
if (absChar != null && absChar.getObjectType() == GameObjectType.NPC) {
|
||||||
NPC npc = (NPC) absChar;
|
NPC npc = (NPC) absChar;
|
||||||
|
|
||||||
|
if (npc.region != null) {
|
||||||
if (npc.building != null) {
|
|
||||||
writer.putInt(npc.getRegion().getLevel());
|
writer.putInt(npc.getRegion().getLevel());
|
||||||
writer.putInt(npc.getRegion().getRoom());
|
writer.putInt(npc.getRegion().getRoom());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public class NPC extends AbstractCharacter {
|
|||||||
private String nameOverride = "";
|
private String nameOverride = "";
|
||||||
private int equipmentSetID = 0;
|
private int equipmentSetID = 0;
|
||||||
public int runeSetID = 0;
|
public int runeSetID = 0;
|
||||||
private Regions region = null;
|
public Regions region = null;
|
||||||
|
|
||||||
private int repairCost = 5;
|
private int repairCost = 5;
|
||||||
public int extraRune2 = 0;
|
public int extraRune2 = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user