#Help with composter detection

1 messages · Page 1 of 1 (latest)

rare cloud
#

hello! this skript is not working like i thought it would, basically I want to detect when an item is thrown into a composter

on drop of wheat seeds:
    set {_loc} to block at location of dropped item
    broadcast "%{_loc}%"
    set {_block} to block at {_loc}
    broadcast "check2"
    if {_block} is a composter:
        broadcast "Wheat seeds dropped into a composter!"

it does not broadcast my debug messages so I am at a loss, thank you

formal wigeon
#

I'd assume on drop calls right before they actually drop it.

#

Meaning that the location won't be a composter