Let's allow the allowed people
This commit is contained in:
		
							parent
							
								
									66b4eb4b92
								
							
						
					
					
						commit
						1d951fb5cf
					
				@ -31,7 +31,7 @@ public class CmdFactionsAccessFaction extends CmdFactionsAccessAbstract
 | 
				
			|||||||
		if (newValue == null) return;
 | 
							if (newValue == null) return;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		// FPerm
 | 
							// FPerm
 | 
				
			||||||
		if (FPerm.ACCESS.has(usender, hostFaction, true)) return;
 | 
							if (!FPerm.ACCESS.has(usender, hostFaction, true)) return;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		// Apply
 | 
							// Apply
 | 
				
			||||||
		ta = ta.withFactionId(faction.getId(), newValue);
 | 
							ta = ta.withFactionId(faction.getId(), newValue);
 | 
				
			||||||
 | 
				
			|||||||
@ -31,7 +31,7 @@ public class CmdFactionsAccessPlayer extends CmdFactionsAccessAbstract
 | 
				
			|||||||
		if (newValue == null) return;
 | 
							if (newValue == null) return;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		// FPerm
 | 
							// FPerm
 | 
				
			||||||
		if (FPerm.ACCESS.has(usender, hostFaction, true)) return;
 | 
							if (!FPerm.ACCESS.has(usender, hostFaction, true)) return;
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		// Apply
 | 
							// Apply
 | 
				
			||||||
		ta = ta.withPlayerId(uplayer.getId(), newValue);
 | 
							ta = ta.withPlayerId(uplayer.getId(), newValue);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user