Add back the pc and ac command aliases

This commit is contained in:
nossr50 2020-11-02 14:03:58 -08:00
parent a945e2e6b3
commit 28b6a457f2
3 changed files with 5 additions and 3 deletions

View File

@ -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.

View File

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

View File

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