mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-05-10 09:36:32 +00:00
Fix /gamemode 2 playername
This commit is contained in:
parent
55c9cacaa3
commit
7beab59c1a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ public class Commandgamemode extends EssentialsCommand
|
||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.length > 1 && args[0].trim().length() > 2 && user.isAuthorized("essentials.gamemode.others"))
|
if (args.length > 1 && args[1].trim().length() > 2 && user.isAuthorized("essentials.gamemode.others"))
|
||||||
{
|
{
|
||||||
gamemodeOtherPlayers(server, user, args);
|
gamemodeOtherPlayers(server, user, args);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue