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!

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

[HELP] Cauldron bug?

Discussion in 'Requests' started by 4UU, Dec 15, 2020.

  1. 4UU

    4UU Member

    Joined:
    Dec 15, 2020
    Messages:
    2
    Likes Received:
    0
    Minecraft v1.12.2
    Skript v2.5.3
    Addons: SkQuery, SkRayFall

    This simple script doesnt work

    on break of cauldron:
    cancel event

    This is exactly the same but just a different block and for some reason this one is working

    on break of hopper:
    cancel event
     
  2. jaydendog77

    jaydendog77 New Member

    Joined:
    Jul 24, 2020
    Messages:
    9
    Likes Received:
    1
    on block break:
    if event-block = cauldron:
    stop

    or

    on break:
    if-event-block = cauldron:
    stop


    untested things, you can change cauldron to anything if it works, just thought of this on the top of my head and if the "=" doesnt work then change it to "is" for example

    on block break:
    if event-block is cauldron:
    stop
     
    • Like Like x 1
  3. 4UU

    4UU Member

    Joined:
    Dec 15, 2020
    Messages:
    2
    Likes Received:
    0
    The fix was

    on break:
    if "%type of block%" is "CAULDRON":
    cancel event
     
  4. bpitcher2013

    bpitcher2013 Member

    Joined:
    Jan 25, 2020
    Messages:
    14
    Likes Received:
    1
    Code (Text):
    1. on break:
    2.     if event-block is hopper:
    3.         cancel event
    Code (Text):
    1. on break:
    2.     if event-block is cauldron:
    3.         cancel event
     

Share This Page

Loading...