Browse Source

Add back the pc and ac command aliases

nossr50 4 years ago
parent
commit
28b6a457f2

+ 3 - 1
Changelog.txt

@@ -2,10 +2,12 @@ Version 2.1.152
     Fixed a bug where Tree Feller would sometimes double drop blocks inappropriately
     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
     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
     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) New ENUM ItemSpawnReason which gives context for why mcMMO is dropping an item
     (API) McMMOItemSpawnEvent::getItemSpawnReason() was added
     (API) McMMOItemSpawnEvent::getItemSpawnReason() was added
     (API) Many instances of spawning items that didn't used to create and call an McMMOItemSpawnEvent now do
     (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:
     NOTES:
     I really should stop letting my OCD compel me to rewrite code all the time.
     I really should stop letting my OCD compel me to rewrite code all the time.

+ 1 - 1
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 com.gmail.nossr50.util.player.UserManager;
 import org.jetbrains.annotations.NotNull;
 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 {
 public class AdminChatCommand extends BaseCommand {
     private final @NotNull mcMMO pluginRef;
     private final @NotNull mcMMO pluginRef;
 
 

+ 1 - 1
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.bukkit.entity.Player;
 import org.jetbrains.annotations.NotNull;
 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 {
 public class PartyChatCommand extends BaseCommand {
     private final @NotNull mcMMO pluginRef;
     private final @NotNull mcMMO pluginRef;