forked from MagicBane/Server
remove safezone restriction from box swapping
This commit is contained in:
@@ -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")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user