ExplosiveEnchantment crashes due to null damage source
Linguardium opened this issue ยท 0 comments
damageSource is not initialized here, so it is null. it is also private so it is not referenced by any super or child classes and must be set within this class.
damageSource is not set in the constructor, so it will be null after object creation.
this.getDamageSource will always return null, because the damage source was never set
you pass the null to the damage method
This crashes https://mclo.gs/G1ly2i7