I'm trying to check if a player filled a bucket with lava then cancel the event so it doesnt remove the lava but set the players item to a lava bucket
Code:
on bucket fill:
cancel event