From 10c610ed000b7a0158e08f69c9539911385b9420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 15 Jan 2024 03:08:04 +0200 Subject: [PATCH] Change event-entity to event-item in on pick up events --- -mirricraft-old.sk | 8 ++++---- mirricraft-kitpvp.sk | 2 +- mirricraft.sk | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/-mirricraft-old.sk b/-mirricraft-old.sk index 5e51955..4027ace 100644 --- a/-mirricraft-old.sk +++ b/-mirricraft-old.sk @@ -307,13 +307,13 @@ on click: on pickup: if event-item is ender chest named "&fMirriCraft": - delete event-entity + delete event-item if event-item is compass named "&4Mene": - delete event-entity + delete event-item if event-item is diamond named "&bVIP": - delete event-entity + delete event-item if event-item is player's skull named "&6%player's name%": - delete event-entity + delete event-item on death: if victim's world is "lobby": diff --git a/mirricraft-kitpvp.sk b/mirricraft-kitpvp.sk index e69b2e5..c634ac2 100644 --- a/mirricraft-kitpvp.sk +++ b/mirricraft-kitpvp.sk @@ -208,7 +208,7 @@ on drop: on pickup: if player's world is "minigames": if event-item is chest named "&fKitPVP": - delete event-entity + delete event-item on break: if player's world is "minigames": diff --git a/mirricraft.sk b/mirricraft.sk index c023212..f9ac9eb 100644 --- a/mirricraft.sk +++ b/mirricraft.sk @@ -37,15 +37,15 @@ on click: on pickup: if event-item is ender chest named "&fMirriCraft": - delete event-entity + delete event-item if event-item is compass named "&2Mene": - delete event-entity + delete event-item if event-item is diamond named "&bVIP": - delete event-entity + delete event-item if event-item is diamond named "&5Ylläpito": - delete event-entity + delete event-item if event-item is player's skull named "&6%player's name%": - delete event-entity + delete event-item on death: if victim's world is "lobby":