fix for "denypearl" command not correctly indicating whether it's enabling or disabling the option

This commit is contained in:
Brettflan 2014-02-27 19:30:16 -06:00
parent 133027dc77
commit 6e7f79711a

View File

@ -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()) + ".");
}
}