浏览代码

Add back the pc and ac command aliases

nossr50 4 年之前
父节点
当前提交
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
     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.

+ 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 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;
 

+ 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.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;