fix relative to [#1037 error](https://github.com/SkriptLang/Skript/issues/1037)
This commit is contained in:
parent
9007bb101d
commit
f2bb3cd1b3
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
|
stop
|
||||||
execute console command "gamemode creative %{_player}%"
|
execute console command "gamemode creative %{_player}%"
|
||||||
loop all players:
|
loop all players:
|
||||||
if loop-player is op:
|
if loop-player is a op:
|
||||||
if loop-player is not {_player}:
|
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
|
send "&7&o%player%&7&o a changé le mode de jeu de %{_player}%&7&o en créatif." to loop-player
|
||||||
else:
|
else:
|
||||||
|
@ -187,7 +187,7 @@ command gms [<player>]: # met un joueur en spectateur
|
||||||
stop
|
stop
|
||||||
execute console command "gamemode spectator %{_player}%"
|
execute console command "gamemode spectator %{_player}%"
|
||||||
loop all players:
|
loop all players:
|
||||||
if loop-player is op:
|
if loop-player is a op:
|
||||||
if loop-player is not {_player}:
|
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
|
send "&7&o%player%&7&o a changé le mode de jeu de %{_player}%&7&o en spectateur." to loop-player
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue