| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -5202,13 +5202,14 @@ public class PlayerCharacter extends AbstractCharacter { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.safeZone = this.isInSafeZone(); | 
					 | 
					 | 
					 | 
					                    this.safeZone = this.isInSafeZone(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    if(this.isActive && this.enteredWorld) { | 
					 | 
					 | 
					 | 
					                    if(this.isActive && this.enteredWorld) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                       // if (!this.timestamps.containsKey("nextBoxCheck"))
 | 
					 | 
					 | 
					 | 
					                        if (!this.timestamps.containsKey("nextBoxCheck")) | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                     //       this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 1000);
 | 
					 | 
					 | 
					 | 
					                            this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 1000); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        //if(this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) {
 | 
					 | 
					 | 
					 | 
					                        if(!this.isBoxed && this.timestamps.get("nextBoxCheck") < System.currentTimeMillis()) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            updateBoxStatus(checkIfBoxed(this)); | 
					 | 
					 | 
					 | 
					                            //updateBoxStatus(checkIfBoxed(this));
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        //    this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 1000);
 | 
					 | 
					 | 
					 | 
					                            this.isBoxed = checkIfBoxed(this); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        //}
 | 
					 | 
					 | 
					 | 
					                            this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 1000); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        if (this.level < 10 && this.enteredWorld) { | 
					 | 
					 | 
					 | 
					                        if (this.level < 10 && this.enteredWorld) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            while (this.level < 10) { | 
					 | 
					 | 
					 | 
					                            while (this.level < 10) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -5277,9 +5278,11 @@ public class PlayerCharacter extends AbstractCharacter { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if(pc.equals(player)) | 
					 | 
					 | 
					 | 
					            if(pc.equals(player)) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                continue; | 
					 | 
					 | 
					 | 
					                continue; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            //pc.isBoxed = true;
 | 
					 | 
					 | 
					 | 
					            //pc.isBoxed = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            pc.updateBoxStatus(true); | 
					 | 
					 | 
					 | 
					            //pc.updateBoxStatus(true);
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            pc.isBoxed = true; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        player.updateBoxStatus(false); | 
					 | 
					 | 
					 | 
					        //player.updateBoxStatus(false);
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        player.isBoxed = 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")) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |