|  |  | @ -1,9 +1,11 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | package engine.devcmd.cmds; |  |  |  | package engine.devcmd.cmds; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import engine.Enum; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.InterestManagement.WorldGrid; |  |  |  | import engine.InterestManagement.WorldGrid; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.devcmd.AbstractDevCmd; |  |  |  | import engine.devcmd.AbstractDevCmd; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.math.Vector3fImmutable; |  |  |  | import engine.math.Vector3fImmutable; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.objects.*; |  |  |  | import engine.objects.*; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import engine.server.MBServerStatics; | 
			
		
	
		
		
			
				
					
					|  |  |  | import org.pmw.tinylog.Logger; |  |  |  | import org.pmw.tinylog.Logger; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | /** |  |  |  | /** | 
			
		
	
	
		
		
			
				
					|  |  | @ -37,8 +39,13 @@ public class RebootCmd extends AbstractDevCmd { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 , (byte) 1, (byte) 1, |  |  |  |                 , (byte) 1, (byte) 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 (byte) 1, (byte) 1, (byte) 1); |  |  |  |                 (byte) 1, (byte) 1, (byte) 1); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         newPLayer.runAfterLoad(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         newPLayer.setLoc(pc.loc); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         newPLayer.setObjectTypeMask(MBServerStatics.MASK_PLAYER); | 
			
		
	
		
		
			
				
					
					|  |  |  |         WorldGrid.addObject(newPLayer,pc.loc.x,pc.loc.z); |  |  |  |         WorldGrid.addObject(newPLayer,pc.loc.x,pc.loc.z); | 
			
		
	
		
		
			
				
					
					|  |  |  |         WorldGrid.updateObject(newPLayer); |  |  |  |         //WorldGrid.updateObject(newPLayer);
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     @Override |  |  |  |     @Override | 
			
		
	
	
		
		
			
				
					|  |  | 
 |