Enable left & rightclick items in mirricraft-old

This commit is contained in:
Christer Warén 2021-10-05 13:14:12 +03:00
parent 0371a9f284
commit 59a800c894

View File

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