Updated /sc check command to correctly display if SilentChest is active or not.

This commit was merged in pull request #119.
This commit is contained in:
unixminecraft
2020-01-14 22:40:01 -05:00
committed by Adam
parent 19c491411f
commit 7d93bb06ad
@@ -40,7 +40,7 @@ public class SilentChestPluginCommand implements CommandExecutor {
Player player = (Player) sender; Player player = (Player) sender;
if (args.length > 0 && args[0].equalsIgnoreCase("check")) { if (args.length > 0 && args[0].equalsIgnoreCase("check")) {
sender.sendMessage("SilentChest is " + (plugin.getPlayerAnyChestStatus(player) ? "ON" : "OFF") + "."); sender.sendMessage("SilentChest is " + (plugin.getPlayerSilentChestStatus(player) ? "ON" : "OFF") + ".");
return true; return true;
} }