From 28b6a457f2ed388acfaa9150dc5b4b450dcf8f42 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 2 Nov 2020 14:03:58 -0800 Subject: [PATCH] Add back the pc and ac command aliases --- Changelog.txt | 4 +++- .../com/gmail/nossr50/commands/chat/AdminChatCommand.java | 2 +- .../com/gmail/nossr50/commands/chat/PartyChatCommand.java | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 9af3b2099..c27b4ae04 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -2,10 +2,12 @@ Version 2.1.152 Fixed a bug where Tree Feller would sometimes double drop blocks inappropriately Added some code to prevent a possible NPE when spawning items in a world that got unloaded Fixed a bug with bleed damage calculations and player armor + Added the missing 'pc' alias for party chat + Added the missing 'ac' alias for admin chat + Updated hu_HU locale (thanks andris) (API) New ENUM ItemSpawnReason which gives context for why mcMMO is dropping an item (API) McMMOItemSpawnEvent::getItemSpawnReason() was added (API) Many instances of spawning items that didn't used to create and call an McMMOItemSpawnEvent now do - Updated hu_HU locale (thanks andris) NOTES: I really should stop letting my OCD compel me to rewrite code all the time. diff --git a/src/main/java/com/gmail/nossr50/commands/chat/AdminChatCommand.java b/src/main/java/com/gmail/nossr50/commands/chat/AdminChatCommand.java index 26b4f2dad..f8547a4a0 100644 --- a/src/main/java/com/gmail/nossr50/commands/chat/AdminChatCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/chat/AdminChatCommand.java @@ -12,7 +12,7 @@ import com.gmail.nossr50.mcMMO; import com.gmail.nossr50.util.player.UserManager; import org.jetbrains.annotations.NotNull; -@CommandAlias("a|adminchat|achat") //Kept for historical reasons +@CommandAlias("ac|a|adminchat|achat") //Kept for historical reasons public class AdminChatCommand extends BaseCommand { private final @NotNull mcMMO pluginRef; diff --git a/src/main/java/com/gmail/nossr50/commands/chat/PartyChatCommand.java b/src/main/java/com/gmail/nossr50/commands/chat/PartyChatCommand.java index 62c23dc49..e1f17b840 100644 --- a/src/main/java/com/gmail/nossr50/commands/chat/PartyChatCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/chat/PartyChatCommand.java @@ -16,7 +16,7 @@ import com.gmail.nossr50.util.player.UserManager; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; -@CommandAlias("p|partychat|pchat") //Kept for historical reasons +@CommandAlias("pc|p|partychat|pchat") //Kept for historical reasons public class PartyChatCommand extends BaseCommand { private final @NotNull mcMMO pluginRef;