Add fawe.towny.member
perm
This commit is contained in:
parent
839a3151d5
commit
765be78aff
@ -61,6 +61,8 @@ public class TownyFeature extends BukkitMaskManager implements Listener {
|
|||||||
try {
|
try {
|
||||||
if (myplot.getResident().getName().equals(player.getName())) {
|
if (myplot.getResident().getName().equals(player.getName())) {
|
||||||
isMember = true;
|
isMember = true;
|
||||||
|
} else if (fp.hasPermission("fawe.towny.member")) {
|
||||||
|
isMember = myplot.getTown().hasResident(player.getName());
|
||||||
}
|
}
|
||||||
} catch (final Exception e) {
|
} catch (final Exception e) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user