mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2025-01-03 13:38:21 +00:00
Updated /sc check command to correctly display if SilentChest is active or not.
This commit is contained in:
parent
19c491411f
commit
7d93bb06ad
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue