How can I cancel anvil event?

sponge 8.0

Where is use anvil event. I want to cancel rename by anvil event.

Please help me.

I believe this is what your looking for

https://jd.spongepowered.org/spongeapi/8.1.0/org/spongepowered/api/event/item/inventory/UpdateAnvilEvent.html

1 Like

Thank for you care!