mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-05-06 15:50:43 +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();
|
||||
}
|
||||
|
||||
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);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue