Browse Source

stop invisible player plague

lakebane
FatBoy-DOTC 2 weeks ago
parent
commit
d96a2a8d25
  1. 8
      src/engine/objects/PlayerCharacter.java

8
src/engine/objects/PlayerCharacter.java

@ -5220,13 +5220,17 @@ public class PlayerCharacter extends AbstractCharacter { @@ -5220,13 +5220,17 @@ public class PlayerCharacter extends AbstractCharacter {
if(!this.title.equals(CharacterTitle.PVE)){
this.title = CharacterTitle.PVE;
InterestManager.setObjectDirty(this);
InterestManager.reloadCharacter(this, false);
//InterestManager.reloadCharacter(this, false);
LoadCharacterMsg lcm = new LoadCharacterMsg(this, PlayerCharacter.hideNonAscii());
DispatchMessage.dispatchMsgToInterestArea(this,lcm,DispatchChannel.PRIMARY,MBServerStatics.CHARACTER_LOAD_RANGE,true,false);
}
}else {
if (!this.title.equals(CharacterTitle.NONE)) {
this.title = CharacterTitle.NONE;
InterestManager.setObjectDirty(this);
InterestManager.reloadCharacter(this, false);
//InterestManager.reloadCharacter(this, false);
LoadCharacterMsg lcm = new LoadCharacterMsg(this, PlayerCharacter.hideNonAscii());
DispatchMessage.dispatchMsgToInterestArea(this,lcm,DispatchChannel.PRIMARY,MBServerStatics.CHARACTER_LOAD_RANGE,true,false);
}
}
}

Loading…
Cancel
Save