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

View File

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

View File

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