From 6e7f79711a53d3f920f483dcd00f4a3d8961d3e7 Mon Sep 17 00:00:00 2001 From: Brettflan Date: Thu, 27 Feb 2014 19:30:16 -0600 Subject: [PATCH] fix for "denypearl" command not correctly indicating whether it's enabling or disabling the option --- src/main/java/com/wimbli/WorldBorder/WBCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/wimbli/WorldBorder/WBCommand.java b/src/main/java/com/wimbli/WorldBorder/WBCommand.java index 61b6857..0e96481 100644 --- a/src/main/java/com/wimbli/WorldBorder/WBCommand.java +++ b/src/main/java/com/wimbli/WorldBorder/WBCommand.java @@ -412,8 +412,8 @@ public class WBCommand implements CommandExecutor if (player != null) { - Config.log((Config.whooshEffect() ? "Enabling" : "Disabling") + " direct cancellation of ender pearls thrown past the border at the command of player \"" + player.getName() + "\"."); - sender.sendMessage("Direct cancellation of ender pearls thrown past the border " + enabledColored(Config.whooshEffect()) + "."); + Config.log((Config.getDenyEnderpearl() ? "Enabling" : "Disabling") + " direct cancellation of ender pearls thrown past the border at the command of player \"" + player.getName() + "\"."); + sender.sendMessage("Direct cancellation of ender pearls thrown past the border " + enabledColored(Config.getDenyEnderpearl()) + "."); } }