mirror of
				https://github.com/Aust1n46/VentureChat.git
				synced 2025-10-30 21:52:23 +00:00 
			
		
		
		
	Added permissions check for ranged spy.
This commit is contained in:
		
							parent
							
								
									a1e8b7bb4f
								
							
						
					
					
						commit
						9b04925c35
					
				| @ -107,6 +107,12 @@ public class MineverseChatPlayer { | ||||
| 	} | ||||
| 	 | ||||
| 	public boolean getRangedSpy() { | ||||
| 		if(isOnline()) { | ||||
| 			if(!getPlayer().hasPermission("venturechat.rangedspy")) { | ||||
| 				setRangedSpy(false); | ||||
| 				return false; | ||||
| 			} | ||||
| 		} | ||||
| 		return this.rangedSpy; | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Aust1n46
						Aust1n46