From 39d5b610a1ff06db82cbb636c7b5352c6d3550ef Mon Sep 17 00:00:00 2001 From: speed <43330808+speedxx@users.noreply.github.com> Date: Sat, 12 Dec 2020 12:59:19 -0500 Subject: [PATCH] Update WorldRestrictions.java --- .../totalfreedom/totalfreedommod/world/WorldRestrictions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/world/WorldRestrictions.java b/src/main/java/me/totalfreedom/totalfreedommod/world/WorldRestrictions.java index e8c4ebec..0eefd78f 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/world/WorldRestrictions.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/world/WorldRestrictions.java @@ -132,7 +132,7 @@ public class WorldRestrictions extends FreedomService { /* This is a very poor way of blocking WorldEdit commands, all the methods I know of for obtaining a list of a plugin's commands are returning null for world edit. */ - String allowed = player.getWorld().equals(plugin.wm.adminworld.getWorld()) ? "Admin" : "Master Builders"; + String allowed = player.getWorld().equals(plugin.wm.adminworld.getWorld()) ? "Admins" : "Master Builders"; if (command.startsWith("/") || BLOCKED_WORLDEDIT_COMMANDS.contains(command)) { @@ -172,4 +172,4 @@ public class WorldRestrictions extends FreedomService regionManager.addRegion(region); } -} +} \ No newline at end of file