mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-30 06:33:27 +01:00
don't display message if command was already used
This commit is contained in:
parent
1438a18493
commit
a8e9ca4354
@ -25,6 +25,7 @@ public class JeffChestSortCommandExecutor implements CommandExecutor {
|
||||
Player p = (Player) sender;
|
||||
JeffChestSortPlayerSetting setting = plugin.PerPlayerSettings.get(p.getUniqueId().toString());
|
||||
setting.sortingEnabled = !setting.sortingEnabled;
|
||||
setting.hasSeenMessage=true;
|
||||
|
||||
if (setting.sortingEnabled) {
|
||||
p.sendMessage(plugin.messages.MSG_ACTIVATED);
|
||||
|
Loading…
Reference in New Issue
Block a user