Iron Door Opener

This commit is contained in:
Christer Warén 2020-10-20 04:19:35 +03:00
parent 6cb945dc76
commit cc6b1070e8
2 changed files with 10 additions and 11 deletions

View File

@ -0,0 +1,10 @@
# --- Iron Door Opener ---
on right click on iron door:
play sound "block.iron_door.open" with volume 1 to the player
toggle event-block
on right click on iron door:
cancel the event
on right click on iron door holding a iron door:
cancel the event

View File

@ -378,17 +378,6 @@ on player world change:
if "%event-world%" is "lobby":
send player title "&6MirriCraft" for 5 seconds
# --- Iron Door Opener ---
on right click on iron door:
play sound "block.iron_door.open" with volume 1 to the player
toggle event-block
on right click on iron door:
cancel the event
on right click on iron door holding a iron door:
cancel the event
# --- Lobby Time & Weather ---
#at 18:00:
# if "%event-world%" is "lobby":