Fix some other f perm checks

This commit is contained in:
Trent Hensler 2018-01-20 16:53:09 -08:00
parent 246b93bda9
commit 9f08e6580b
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ public class FactionsPlayerListener implements Listener {
Relation rel = myFaction.getRelationTo(otherFaction);
Access access = otherFaction.getAccess(me, com.massivecraft.factions.zcore.fperms.Action.valueOf("items"));
Access access = otherFaction.getAccess(me, com.massivecraft.factions.zcore.fperms.Action.ITEM);
if (access != null && access != Access.UNDEFINED) {
// TODO: Update this once new access values are added other than just allow / deny.
return access == Access.ALLOW;