From 7d93bb06ad031592f55879e3ebe32b7ecd9c8ae2 Mon Sep 17 00:00:00 2001 From: unixminecraft Date: Tue, 14 Jan 2020 21:35:32 -0600 Subject: [PATCH] Updated /sc check command to correctly display if SilentChest is active or not. --- .../com/lishid/openinv/commands/SilentChestPluginCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/com/lishid/openinv/commands/SilentChestPluginCommand.java b/plugin/src/main/java/com/lishid/openinv/commands/SilentChestPluginCommand.java index 145b0f2..001d57f 100644 --- a/plugin/src/main/java/com/lishid/openinv/commands/SilentChestPluginCommand.java +++ b/plugin/src/main/java/com/lishid/openinv/commands/SilentChestPluginCommand.java @@ -40,7 +40,7 @@ public class SilentChestPluginCommand implements CommandExecutor { Player player = (Player) sender; 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; }