This commit is contained in:
Christer Warén 2021-10-02 22:19:09 +03:00
parent c6baa039e4
commit 0371a9f284

View File

@ -257,62 +257,62 @@ on respawn:
make player execute command "/mirricraft item" make player execute command "/mirricraft item"
stop stop
on leftclick: #on leftclick:
if event-item is ender chest named "&fMirriCraft": # if event-item is ender chest named "&fMirriCraft":
make player execute command "/mirricraft gui" # make player execute command "/mirricraft gui"
cancel the event # cancel the event
wait 2 tick # wait 2 tick
if event-item is compass named "&4Mene": # if event-item is compass named "&4Mene":
make player execute command "/mirricraft gui visit" # make player execute command "/mirricraft gui visit"
cancel the event # cancel the event
wait 2 tick # wait 2 tick
if event-item is diamond named "&bVIP": # if event-item is diamond named "&bVIP":
make player execute command "/mirricraft gui vip" # make player execute command "/mirricraft gui vip"
cancel the event # cancel the event
wait 2 tick # wait 2 tick
if event-item is player's skull named "&6%player%": # if event-item is player's skull named "&6%player%":
make player execute command "/mirricraft gui player" # make player execute command "/mirricraft gui player"
cancel the event # cancel the event
wait 2 tick # wait 2 tick
on rightclick: #on rightclick:
if event-item is ender chest named "&fMirriCraft": # if event-item is ender chest named "&fMirriCraft":
make player execute command "/mirricraft gui" # make player execute command "/mirricraft gui"
cancel the event # cancel the event
wait 2 tick # wait 2 tick
if event-item is compass named "&4Mene": # if event-item is compass named "&4Mene":
make player execute command "/mirricraft gui visit" # make player execute command "/mirricraft gui visit"
cancel the event # cancel the event
wait 2 tick # wait 2 tick
if event-item is diamond named "&bVIP": # if event-item is diamond named "&bVIP":
make player execute command "/mirricraft gui vip" # make player execute command "/mirricraft gui vip"
cancel the event # cancel the event
wait 2 tick # wait 2 tick
if event-item is player's skull named "&6%player%": # if event-item is player's skull named "&6%player%":
make player execute command "/mirricraft gui player" # make player execute command "/mirricraft gui player"
cancel the event # cancel the event
wait 2 tick # wait 2 tick
on inventory click: #on inventory click:
if event-item is ender chest named "&fMirriCraft": # if event-item is ender chest named "&fMirriCraft":
cancel the event # cancel the event
if event-item is compass named "&4Mene": # if event-item is compass named "&4Mene":
cancel the event # cancel the event
if event-item is diamond named "&bVIP": # if event-item is diamond named "&bVIP":
cancel the event # cancel the event
if event-item is player's skull named "&6%player%": # if event-item is player's skull named "&6%player%":
cancel the event # cancel the event
on drop: #on drop:
if event-item is ender chest named "&fMirriCraft": # if event-item is ender chest named "&fMirriCraft":
cancel the event # cancel the event
if event-item is compass named "&4Mene": # if event-item is compass named "&4Mene":
cancel the event # cancel the event
if event-item is diamond named "&bVIP": # if event-item is diamond named "&bVIP":
cancel the event # cancel the event
if event-item is player's skull named "&6%player%": # if event-item is player's skull named "&6%player%":
cancel the event # cancel the event
on pickup: on pickup:
if event-item is ender chest named "&fMirriCraft": if event-item is ender chest named "&fMirriCraft":