Browse Source

Boxed Title

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
1bb4e17ead
  1. 3
      src/engine/net/client/msg/VendorDialogMsg.java

3
src/engine/net/client/msg/VendorDialogMsg.java

@ -12,6 +12,7 @@ package engine.net.client.msg;
import engine.Enum; import engine.Enum;
import engine.Enum.DispatchChannel; import engine.Enum.DispatchChannel;
import engine.Enum.GuildHistoryType; import engine.Enum.GuildHistoryType;
import engine.InterestManagement.InterestManager;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.*; import engine.gameManager.*;
import engine.math.Vector3fImmutable; import engine.math.Vector3fImmutable;
@ -150,10 +151,12 @@ public class VendorDialogMsg extends ClientNetMsg {
} }
playerCharacter.isBoxed = false; playerCharacter.isBoxed = false;
playerCharacter.title = CharacterTitle.NONE; playerCharacter.title = CharacterTitle.NONE;
InterestManager.reloadCharacter(playerCharacter);
playerCharacter.removeEffectBySource(Enum.EffectSourceType.DeathShroud,50,true); playerCharacter.removeEffectBySource(Enum.EffectSourceType.DeathShroud,50,true);
for(PlayerCharacter box : currentBoxes) { for(PlayerCharacter box : currentBoxes) {
box.isBoxed = true; box.isBoxed = true;
box.title = CharacterTitle.BOX; box.title = CharacterTitle.BOX;
InterestManager.reloadCharacter(box);
} }
} }
Dispatch dispatch = Dispatch.borrow(playerCharacter, msg); Dispatch dispatch = Dispatch.borrow(playerCharacter, msg);

Loading…
Cancel
Save