diff --git a/src/engine/net/client/msg/VendorDialogMsg.java b/src/engine/net/client/msg/VendorDialogMsg.java index 1f570f52..71f1084b 100644 --- a/src/engine/net/client/msg/VendorDialogMsg.java +++ b/src/engine/net/client/msg/VendorDialogMsg.java @@ -149,9 +149,12 @@ public class VendorDialogMsg extends ClientNetMsg { currentBoxes.add(pc); } playerCharacter.isBoxed = false; + playerCharacter.title = CharacterTitle.NONE; playerCharacter.removeEffectBySource(Enum.EffectSourceType.DeathShroud,50,true); - for(PlayerCharacter box : currentBoxes) + for(PlayerCharacter box : currentBoxes) { box.isBoxed = true; + box.title = CharacterTitle.BOX; + } } Dispatch dispatch = Dispatch.borrow(playerCharacter, msg); DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY); diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index ddba198c..0efd5091 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -156,7 +156,7 @@ public class PlayerCharacter extends AbstractCharacter { private NPC lastNPCDialog; private Mob pet; //Used for skill/Power calculation optimization - private CharacterTitle title = CharacterTitle.NONE; + public CharacterTitle title = CharacterTitle.NONE; private boolean asciiLastName = true; private int spamCount = 0; private boolean initialized = false;