All checks were successful
continuous-integration/drone/push Build is passing
setup.exe
8 lines
583 B
JavaScript
8 lines
583 B
JavaScript
// Since we're playing the zombie_extreme sound, put this here
|
|
BlockEvents.rightClicked("apocalypsenow:iron_locker", event => {
|
|
event.server.runCommandSilent(`execute as ${event.player.username} run playsound zombie_extreme:openvendingmachine block @s ${event.player.x} ${event.player.y} ${event.player.z} 2`)
|
|
})
|
|
|
|
BlockEvents.rightClicked("zombie_extreme:vending_machine", event => {
|
|
event.server.runCommandSilent(`execute as ${event.player.username} run playsound zombie_extreme:openvendingmachine block @s ${event.player.x} ${event.player.y} ${event.player.z} 2`)
|
|
}) |