fix thimble
This commit is contained in:
parent
274c6e8180
commit
54f537b850
3 changed files with 6 additions and 1 deletions
|
@ -39,3 +39,7 @@ function pluriel(int: number) :: text:
|
|||
function annonceParty(message: text):
|
||||
loop {party.list::*}:
|
||||
send {_message} to loop-value
|
||||
|
||||
function resetThimble(player: player):
|
||||
set {_uuid} to uuid of {_player}
|
||||
delete {thimble.dead.%{_uuid}%}
|
||||
|
|
|
@ -30,7 +30,7 @@ command deacoudre [<text>]: # lancement de la partie
|
|||
if {thimble} is true:
|
||||
delete {thimble}
|
||||
loop {party.list::*}:
|
||||
delete {thimble.dead.%uuid of loop-value%}
|
||||
resetThimble(loop-value)
|
||||
send "&cPartie de dé à coudre terminée." to loop-value
|
||||
set gamemode of loop-value to creative
|
||||
else:
|
||||
|
|
1
party.sk
1
party.sk
|
@ -37,6 +37,7 @@ command party [<player>] [<text>]: # commande party
|
|||
loop {party.list::*}:
|
||||
send "%{_player}%&c a quitté la partie." to loop-value
|
||||
remove player from {party.list::*}
|
||||
resetThimble(player)
|
||||
send "&cTu as quitté la partie."
|
||||
stop
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue