fix relative to https://github.com/SkriptLang/Skript/issues/1037
This commit is contained in:
parent
9007bb101d
commit
ea6ef3413c
1 changed files with 2 additions and 2 deletions
4
main.sk
4
main.sk
|
@ -168,7 +168,7 @@ command gmc [<player>]: # met un joueur en créatif
|
|||
stop
|
||||
execute console command "gamemode creative %{_player}%"
|
||||
loop all players:
|
||||
if loop-player is op:
|
||||
if loop-player is a op:
|
||||
if loop-player is not {_player}:
|
||||
send "&7&o%player%&7&o a changé le mode de jeu de %{_player}%&7&o en créatif." to loop-player
|
||||
else:
|
||||
|
@ -187,7 +187,7 @@ command gms [<player>]: # met un joueur en spectateur
|
|||
stop
|
||||
execute console command "gamemode spectator %{_player}%"
|
||||
loop all players:
|
||||
if loop-player is op:
|
||||
if loop-player is a op:
|
||||
if loop-player is not {_player}:
|
||||
send "&7&o%player%&7&o a changé le mode de jeu de %{_player}%&7&o en spectateur." to loop-player
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue