|  |  | @ -9,6 +9,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | package engine.net.client.handlers; |  |  |  | package engine.net.client.handlers; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import engine.Enum; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.Enum.DispatchChannel; |  |  |  | import engine.Enum.DispatchChannel; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.exception.MsgSendException; |  |  |  | import engine.exception.MsgSendException; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.net.DispatchMessage; |  |  |  | import engine.net.DispatchMessage; | 
			
		
	
	
		
		
			
				
					|  |  | @ -42,6 +43,9 @@ public class ChangeAltitudeHandler extends AbstractClientMsgHandler { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (!AbstractCharacter.CanFly(pc)) |  |  |  |         if (!AbstractCharacter.CanFly(pc)) | 
			
		
	
		
		
			
				
					
					|  |  |  |             return false; |  |  |  |             return false; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if(pc.getBonuses().getBool(Enum.ModType.Stunned, Enum.SourceType.None)) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (pc.isSwimming()) |  |  |  |         if (pc.isSwimming()) | 
			
		
	
		
		
			
				
					
					|  |  |  |             return false; |  |  |  |             return false; | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (pc.region != null && !pc.region.isOutside()) |  |  |  |         if (pc.region != null && !pc.region.isOutside()) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |