Add fawe.towny.member perm

This commit is contained in:
Jesse Boyd 2018-08-28 03:17:21 +10:00
parent 839a3151d5
commit 765be78aff
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -61,6 +61,8 @@ public class TownyFeature extends BukkitMaskManager implements Listener {
try {
if (myplot.getResident().getName().equals(player.getName())) {
isMember = true;
} else if (fp.hasPermission("fawe.towny.member")) {
isMember = myplot.getTown().hasResident(player.getName());
}
} catch (final Exception e) {