box limiter

This commit is contained in:
2025-02-02 09:05:22 -06:00
parent 601e97eaca
commit 61088d0b59
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -98,7 +98,8 @@ public enum ConfigManager {
MB_MAGICBOT_FORTOFIX, MB_MAGICBOT_FORTOFIX,
MB_MAGICBOT_RECRUIT, MB_MAGICBOT_RECRUIT,
MB_MAGICBOT_MAGICBOX, MB_MAGICBOT_MAGICBOX,
MB_MAGICBOT_ADMINLOG; MB_MAGICBOT_ADMINLOG,
MB_WORLD_BOXLIMIT;
// Map to hold our config pulled in from the environment // Map to hold our config pulled in from the environment
// We also use the config to point to the current message pump // We also use the config to point to the current message pump
+1 -1
View File
@@ -5151,7 +5151,7 @@ public class PlayerCharacter extends AbstractCharacter {
} }
public static boolean checkIfBoxed(PlayerCharacter player){ public static boolean checkIfBoxed(PlayerCharacter player){
if(ConfigManager.MB_WORLD_TESTMODE.getValue().equals("true")) { if(ConfigManager.MB_WORLD_BOXLIMIT.getValue().equals("true")) {
return false; return false;
} }
try { try {