Closed GuilleX7 closed 3 months ago
It seems this is not exactly a bug: when the creeper egg is thrown underwater and both "ExplosionDamageBlocksUnderwater" and "ReplaceOriginalExplosionWhenUnderwater" are set to true for creepers in ExplodeAny, the original explosion event is cancelled and a custom one is created (see https://github.com/GuilleX7/ExplodeAny/blob/main/explodeany/src/main/java/io/github/guillex7/explodeany/explosion/ExplosionManager.java#L181).
This behavior can also be reproduced by just setting "ReplaceOriginalExplosion" to true and throwing eggs anywhere: since ExplodeAny cancels the original event, the same behaviour occurs (see https://github.com/GuilleX7/ExplodeAny/blob/main/explodeany/src/main/java/io/github/guillex7/explodeany/explosion/ExplosionManager.java#L186)
As a workaround, I suggest to disable both "ReplaceOriginalExplosion" and "ReplaceOriginalExplosionWhenUnderwater" until compatibility with the plugin is added (via new entity section). Suggest the owner of the plugin to add a configuration key to allow disabling this behavior of spawning eggs when creeper explosion is cancelled by other plugins.
It seems ExplodeAny causes some sort of duplication issue when a creeper egg is thrown, see recording.
ExplodeAny configuration:
Throwable Creeper Eggs configuration: