#Skacket help with block event type

1 messages · Page 1 of 1 (latest)

zinc cosmos
tough yarrow
#

it would help if you showed us your code

teal garden
#

Whats next, nerdsket

#

Skbald

#

Skbigback

zinc cosmos
#

@tough yarrow i dont have code, i just dont know where i would check if "playerdigtype.abort_destroy_block" is true
like which event i use it in

#

is it like, for example

 if block-break-type is playerdigtype.abort_destroy_block:```
#

or maybe something else idk how to use it

tough yarrow
#

I believe instead of block-break-type, you need block dig type (no hyphens), and I think you need to put the last thing there in "quotes"

zinc cosmos
#

on the docs

#

but how would it detect when you abort in a block break event?

#

because then the block dig type would be player breaking the block right?

#

or something like that

#

@tough yarrow

zinc cosmos
#

NEVERMIND

#

on block damage abort:

#

🤦‍♂️

#

this is an alternative