|
|
@ -5202,6 +5202,7 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
}else if(!this.isBoxed && this.containsEffect(-654906771)){ |
|
|
|
}else if(!this.isBoxed && this.containsEffect(-654906771)){ |
|
|
|
this.effects.remove("PvE-Flagged"); |
|
|
|
this.effects.remove("PvE-Flagged"); |
|
|
|
this.effects.remove("1258"); |
|
|
|
this.effects.remove("1258"); |
|
|
|
|
|
|
|
WorldGrid.updateObject(this); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.isFlying()) { |
|
|
|
if (this.isFlying()) { |
|
|
@ -5250,7 +5251,8 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
player.isBoxed = false; |
|
|
|
player.isBoxed = false; |
|
|
|
player.timestamps.put("nextBoxCheck", System.currentTimeMillis()); |
|
|
|
player.effects.remove("PvE-Flagged"); |
|
|
|
|
|
|
|
player.effects.remove("1258"); |
|
|
|
} |
|
|
|
} |
|
|
|
public static boolean checkIfBoxed(PlayerCharacter player){ |
|
|
|
public static boolean checkIfBoxed(PlayerCharacter player){ |
|
|
|
if(ConfigManager.MB_WORLD_BOXLIMIT.getValue().equals("false")) { |
|
|
|
if(ConfigManager.MB_WORLD_BOXLIMIT.getValue().equals("false")) { |
|
|
|