[HELP] Cauldron bug?

  • 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!

4UU

Member
Dec 15, 2020
2
0
1
28
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
 
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
Reactions: 4UU
The fix was

on break:
if "%type of block%" is "CAULDRON":
cancel event
 
Code:
on break:
    if event-block is hopper:
        cancel event

Code:
on break:
    if event-block is cauldron:
        cancel event