forked from MagicBane/Server
player update organisation
This commit is contained in:
@@ -5267,11 +5267,11 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
|
|
||||||
for (PlayerCharacter pc : sameMachine) {
|
for (PlayerCharacter pc : sameMachine) {
|
||||||
pc.isBoxed = true;
|
pc.isBoxed = true;
|
||||||
|
pc.auditBoxedStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
player.isBoxed = false;
|
player.isBoxed = false;
|
||||||
player.effects.remove("PvE-Flagged");
|
player.auditBoxedStatus();
|
||||||
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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user