Samsuik / Sakura

11 stars 7 forks source link

optimise-protected-regions #3

Closed Hermelijn15 closed 10 months ago

Hermelijn15 commented 10 months ago

I assume optimise protected regions only works in combination with plugins, protection blocks? atm turning it on prevents all explosions from breaking blocks

Samsuik commented 10 months ago

Ah, that is an issue. It is supposed to fire an explosion event before block searching with the block at the explosion location, and if a plugin removes that block or cancels the event it is a protected region and won't search for blocks to destroy.

Samsuik commented 10 months ago

Fixed with 4c72d655916e0bede47bc63c7508dc3983e7211c