remove safezone restriction from box swapping

This commit is contained in:
2025-03-24 20:39:33 -05:00
parent fb3a34aa67
commit 837751b041
+1 -4
View File
@@ -5250,10 +5250,7 @@ public class PlayerCharacter extends AbstractCharacter {
} }
player.isBoxed = false; player.isBoxed = false;
if (player.containsEffect(1672601862)) { player.timestamps.put("nextBoxCheck", System.currentTimeMillis());
player.removeEffectBySource(EffectSourceType.DeathShroud, 41, false);
}
} }
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")) {