1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Item break on cactus

Discussion in 'Skript' started by GToTheG, Jul 2, 2022.

Thread Status:
Not open for further replies.
  1. GToTheG

    GToTheG Member

    Joined:
    Jan 26, 2017
    Messages:
    35
    Likes Received:
    0
    How to prevent item break on cactus?

    I tried this:
    Code (Text):
    1. on damage of a entity:
    2.    if "%victim%" is "dropped item":
    3.        if "%damage type%" is "cactus":
    4.            cancel event
    No error, but doesn't work. Help :emoji_grinning:
     
  2. Sabified

    Sabified Member

    Joined:
    Jun 5, 2022
    Messages:
    30
    Likes Received:
    2
    If you want to make cactus not break then:
    Code (Text):
    1. on break of cactus:
    2.     cancel event
     
  3. GToTheG

    GToTheG Member

    Joined:
    Jan 26, 2017
    Messages:
    35
    Likes Received:
    0
    I know that. But that is not what i want.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...