Merge remote-tracking branch 'origin/master'

This commit is contained in:
Taah 2022-02-25 00:37:59 -08:00
commit bc461ee870
3 changed files with 4 additions and 2 deletions

View File

@ -26,5 +26,4 @@ public class DeopAllCMD extends PlexCommand
PlexUtils.broadcast(messageComponent("deoppedAllPlayers", sender.getName())); PlexUtils.broadcast(messageComponent("deoppedAllPlayers", sender.getName()));
return null; return null;
} }
} }

View File

@ -26,7 +26,7 @@ public class DeopCMD extends PlexCommand
} }
Player player = getNonNullPlayer(args[0]); Player player = getNonNullPlayer(args[0]);
player.setOp(false); player.setOp(false);
PlexUtils.broadcast(messageComponent("oppedPlayer", sender.getName(), player.getName())); PlexUtils.broadcast(messageComponent("deoppedPlayer", sender.getName(), player.getName()));
return null; return null;
} }

View File

@ -35,6 +35,9 @@ deoppedAllPlayers: "<aqua><v> - De-opped all players on the server"
# 1. The person who is opping # 1. The person who is opping
# 2. The person who has been opped # 2. The person who has been opped
oppedPlayer: "<aqua><v> - Opped <v>" oppedPlayer: "<aqua><v> - Opped <v>"
# 1. The person who is deopped
# 2. The person who has been deopped
deoppedPlayer: "<red><v> - Deopped <v>"
# 1. The person who is freezing # 1. The person who is freezing
# 2. The person who has been frozen # 2. The person who has been frozen
frozePlayer: "<aqua><v> - Froze <v>" frozePlayer: "<aqua><v> - Froze <v>"