mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
h
This commit is contained in:
parent
dbf2949204
commit
466aa6ff12
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue