From 59a800c894ab8fac9555b5fd05b1d941b149ab5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Tue, 5 Oct 2021 13:14:12 +0300 Subject: [PATCH] Enable left & rightclick items in mirricraft-old --- mirricraft-old.sk | 68 +++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/mirricraft-old.sk b/mirricraft-old.sk index 84adfe6..a385897 100644 --- a/mirricraft-old.sk +++ b/mirricraft-old.sk @@ -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":