mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-18 16:25:20 +01:00
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;
|
||||
|
||||
// FPerm
|
||||
if (FPerm.ACCESS.has(usender, hostFaction, true)) return;
|
||||
if (!FPerm.ACCESS.has(usender, hostFaction, true)) return;
|
||||
|
||||
// Apply
|
||||
ta = ta.withFactionId(faction.getId(), newValue);
|
||||
|
@ -31,7 +31,7 @@ public class CmdFactionsAccessPlayer extends CmdFactionsAccessAbstract
|
||||
if (newValue == null) return;
|
||||
|
||||
// FPerm
|
||||
if (FPerm.ACCESS.has(usender, hostFaction, true)) return;
|
||||
if (!FPerm.ACCESS.has(usender, hostFaction, true)) return;
|
||||
|
||||
// Apply
|
||||
ta = ta.withPlayerId(uplayer.getId(), newValue);
|
||||
|
Loading…
Reference in New Issue
Block a user