Change to interact perm, not build

This commit is contained in:
Jesse Boyd 2016-07-11 20:27:15 +10:00
parent ad2db9b836
commit e859a7f56c

View File

@ -238,7 +238,7 @@ public abstract class EventUtil {
value = null; value = null;
} }
if (value == null || !value.contains(PlotBlock.EVERYTHING) && !value.contains(block.getPlotBlock())) { if (value == null || !value.contains(PlotBlock.EVERYTHING) && !value.contains(block.getPlotBlock())) {
if (Permissions.hasPermission(player, C.PERMISSION_ADMIN_BUILD_OTHER.s(), false)) { if (Permissions.hasPermission(player, C.PERMISSION_ADMIN_INTERACT_OTHER.s(), false)) {
return true; return true;
} }
return false; return false;