Change event-entity to event-item in on pick up events
This commit is contained in:
parent
a602d8ad44
commit
10c610ed00
@ -307,13 +307,13 @@ on click:
|
|||||||
|
|
||||||
on pickup:
|
on pickup:
|
||||||
if event-item is ender chest named "&fMirriCraft":
|
if event-item is ender chest named "&fMirriCraft":
|
||||||
delete event-entity
|
delete event-item
|
||||||
if event-item is compass named "&4Mene":
|
if event-item is compass named "&4Mene":
|
||||||
delete event-entity
|
delete event-item
|
||||||
if event-item is diamond named "&bVIP":
|
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%":
|
if event-item is player's skull named "&6%player's name%":
|
||||||
delete event-entity
|
delete event-item
|
||||||
|
|
||||||
on death:
|
on death:
|
||||||
if victim's world is "lobby":
|
if victim's world is "lobby":
|
||||||
|
@ -208,7 +208,7 @@ on drop:
|
|||||||
on pickup:
|
on pickup:
|
||||||
if player's world is "minigames":
|
if player's world is "minigames":
|
||||||
if event-item is chest named "&fKitPVP":
|
if event-item is chest named "&fKitPVP":
|
||||||
delete event-entity
|
delete event-item
|
||||||
|
|
||||||
on break:
|
on break:
|
||||||
if player's world is "minigames":
|
if player's world is "minigames":
|
||||||
|
@ -37,15 +37,15 @@ on click:
|
|||||||
|
|
||||||
on pickup:
|
on pickup:
|
||||||
if event-item is ender chest named "&fMirriCraft":
|
if event-item is ender chest named "&fMirriCraft":
|
||||||
delete event-entity
|
delete event-item
|
||||||
if event-item is compass named "&2Mene":
|
if event-item is compass named "&2Mene":
|
||||||
delete event-entity
|
delete event-item
|
||||||
if event-item is diamond named "&bVIP":
|
if event-item is diamond named "&bVIP":
|
||||||
delete event-entity
|
delete event-item
|
||||||
if event-item is diamond named "&5Ylläpito":
|
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%":
|
if event-item is player's skull named "&6%player's name%":
|
||||||
delete event-entity
|
delete event-item
|
||||||
|
|
||||||
on death:
|
on death:
|
||||||
if victim's world is "lobby":
|
if victim's world is "lobby":
|
||||||
|
Loading…
Reference in New Issue
Block a user