Update Command_opall.java

This commit is contained in:
Elmon11 2020-12-01 23:45:32 +01:00 committed by GitHub
parent 03a6f18d18
commit 42199f9923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ public class Command_opall extends FreedomCommand
for (Player player : server.getOnlinePlayers()) for (Player player : server.getOnlinePlayers())
{ {
if (player.isOp()) if (!player.isOp())
{ {
player.setOp(true); player.setOp(true);
player.sendMessage(FreedomCommand.YOU_ARE_OP); player.sendMessage(FreedomCommand.YOU_ARE_OP);