Item break on cactus

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

GToTheG

Member
Jan 26, 2017
35
0
8
23
How to prevent item break on cactus?

I tried this:
Code:
on damage of a entity:
   if "%victim%" is "dropped item":
       if "%damage type%" is "cactus":
           cancel event

No error, but doesn't work. Help :emoji_grinning:
 
If you want to make cactus not break then:
Code:
on break of cactus:
    cancel event
 
Status
Not open for further replies.