change(kubejs): updated KubeJS scripts
This commit is contained in:
parent
ee585b9e8b
commit
a9f874e58d
6 changed files with 150 additions and 101 deletions
|
|
@ -17,6 +17,7 @@ PlayerEvents.respawned((event) => {
|
|||
const player = event.player;
|
||||
|
||||
const ticket = tickets[player.uuid];
|
||||
|
||||
if (ticket != null) player.give(Item.of(ticket, 1));
|
||||
|
||||
tickets[player.uuid] = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue