This commit is contained in:
ZeroEpoch1969 2019-11-30 20:55:27 -07:00
parent dbf2949204
commit 466aa6ff12
No known key found for this signature in database
GPG key ID: A7BAB4E14F089CF3

View file

@ -82,7 +82,7 @@ public class PlotSquaredHandler
{ {
List<String> adminOnlyPermissions = Arrays.asList( List<String> adminOnlyPermissions = Arrays.asList(
"plots.worldedit.bypass", "plots.area", "plots.grant.add", "plots.debugallowunsafe", "plots.debugroadgen", "plots.debugpaste", "plots.worldedit.bypass", "plots.area", "plots.grant.add", "plots.debugallowunsafe", "plots.debugroadgen", "plots.debugpaste",
"plots.createroadschematic", "plots.merge", "plots.unlink", "plots.area", "plots.setup"); "plots.createroadschematic", "plots.merge", "plots.unlink", "plots.area", "plots.setup", "plots.set.flag.other");
if (!isAdmin(player)) if (!isAdmin(player))
{ {
if (permission.startsWith("plots.admin") || adminOnlyPermissions.contains(permission)) if (permission.startsWith("plots.admin") || adminOnlyPermissions.contains(permission))