From dba271ba78811f8b29084441de72dfb53055d342 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 3 Sep 2016 16:57:32 +1000 Subject: [PATCH] *Forgot these --- .../java/com/boydti/fawe/object/brush/InspectBrush.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/boydti/fawe/object/brush/InspectBrush.java b/core/src/main/java/com/boydti/fawe/object/brush/InspectBrush.java index ec44f9ec..f6e73c31 100644 --- a/core/src/main/java/com/boydti/fawe/object/brush/InspectBrush.java +++ b/core/src/main/java/com/boydti/fawe/object/brush/InspectBrush.java @@ -58,8 +58,8 @@ public class InspectBrush extends BrushTool implements DoubleActionTraceTool { } public boolean perform(final Player player, LocalSession session, boolean rightClick) { - if (!session.isToolControlEnabled() || !player.hasPermission("worldedit.brush.inspect")) { - BBC.NO_PERM.send(player, "worldedit.brush.inspect"); + if (!session.isToolControlEnabled() || !player.hasPermission("worldedit.tool.inspect")) { + BBC.NO_PERM.send(player, "worldedit.tool.inspect"); return false; } if (!Settings.HISTORY.USE_DATABASE) { @@ -111,6 +111,6 @@ public class InspectBrush extends BrushTool implements DoubleActionTraceTool { @Override public boolean canUse(Actor actor) { - return actor.hasPermission("worldedit.brush.inspect"); + return actor.hasPermission("worldedit.tool.inspect"); } }