mirror of
https://github.com/songoda/EpicBuckets.git
synced 2024-09-27 13:02:54 +02:00
patch for factions issue.
This commit is contained in:
parent
af9d36a3fc
commit
9e564935a1
@ -29,7 +29,7 @@ public class HookFactions implements ClaimableProtectionPluginHook {
|
|||||||
FPlayer fPlayer = FPlayers.getBySender(player);
|
FPlayer fPlayer = FPlayers.getBySender(player);
|
||||||
Faction faction = Factions.getFactionAt(location);
|
Faction faction = Factions.getFactionAt(location);
|
||||||
|
|
||||||
if (faction.isNone()) return EpicBuckets.getInstance().getConfigManager().isGensInWilderness();
|
if (faction.isNone()) return false;
|
||||||
|
|
||||||
return fPlayer.getFaction().equals(faction);
|
return fPlayer.getFaction().equals(faction);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user