stop invisible player plague
This commit is contained in:
@@ -5219,7 +5219,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
if (this.isBoxed){
|
if (this.isBoxed){
|
||||||
if(!this.title.equals(CharacterTitle.PVE)){
|
if(!this.title.equals(CharacterTitle.PVE)){
|
||||||
this.title = CharacterTitle.PVE;
|
this.title = CharacterTitle.PVE;
|
||||||
InterestManager.setObjectDirty(this);
|
//InterestManager.setObjectDirty(this);
|
||||||
//InterestManager.reloadCharacter(this, false);
|
//InterestManager.reloadCharacter(this, false);
|
||||||
LoadCharacterMsg lcm = new LoadCharacterMsg(this, PlayerCharacter.hideNonAscii());
|
LoadCharacterMsg lcm = new LoadCharacterMsg(this, PlayerCharacter.hideNonAscii());
|
||||||
DispatchMessage.dispatchMsgToInterestArea(this,lcm,DispatchChannel.PRIMARY,MBServerStatics.CHARACTER_LOAD_RANGE,true,false);
|
DispatchMessage.dispatchMsgToInterestArea(this,lcm,DispatchChannel.PRIMARY,MBServerStatics.CHARACTER_LOAD_RANGE,true,false);
|
||||||
@@ -5227,7 +5227,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
}else {
|
}else {
|
||||||
if (!this.title.equals(CharacterTitle.NONE)) {
|
if (!this.title.equals(CharacterTitle.NONE)) {
|
||||||
this.title = CharacterTitle.NONE;
|
this.title = CharacterTitle.NONE;
|
||||||
InterestManager.setObjectDirty(this);
|
//InterestManager.setObjectDirty(this);
|
||||||
//InterestManager.reloadCharacter(this, false);
|
//InterestManager.reloadCharacter(this, false);
|
||||||
LoadCharacterMsg lcm = new LoadCharacterMsg(this, PlayerCharacter.hideNonAscii());
|
LoadCharacterMsg lcm = new LoadCharacterMsg(this, PlayerCharacter.hideNonAscii());
|
||||||
DispatchMessage.dispatchMsgToInterestArea(this,lcm,DispatchChannel.PRIMARY,MBServerStatics.CHARACTER_LOAD_RANGE,true,false);
|
DispatchMessage.dispatchMsgToInterestArea(this,lcm,DispatchChannel.PRIMARY,MBServerStatics.CHARACTER_LOAD_RANGE,true,false);
|
||||||
|
|||||||
Reference in New Issue
Block a user