remove safezone restriction from box swapping

This commit is contained in:
2025-03-24 20:37:08 -05:00
parent 41c3ab5335
commit fb3a34aa67
+6 -5
View File
@@ -5247,12 +5247,13 @@ public class PlayerCharacter extends AbstractCharacter {
for (PlayerCharacter pc : sameMachine) {
pc.isBoxed = true;
player.isBoxed = false;
if (player.containsEffect(1672601862)) {
player.removeEffectBySource(EffectSourceType.DeathShroud, 41, false);
}
}
player.isBoxed = false;
if (player.containsEffect(1672601862)) {
player.removeEffectBySource(EffectSourceType.DeathShroud, 41, false);
}
}
public static boolean checkIfBoxed(PlayerCharacter player){
if(ConfigManager.MB_WORLD_BOXLIMIT.getValue().equals("false")) {