Universal Tweaks

Universal Tweaks

2M Downloads

Crash: Hitting dragon with burning Arrow `EntityDragonPart cannot be cast to EntityLivingBase`

Krutoy242 opened this issue ยท 1 comments

commented

Steps to reproduce:

  1. Take a bow
  2. Enchant with "Flame" enchantment (shooting burning arrows)
  3. Hit a IceAndFire dragon (and probably vanilla dragon too)
  4. Game crashes
Caused by: java.lang.ClassCastException: com.github.alexthe666.iceandfire.entity.EntityDragonPart cannot be cast to net.minecraft.entity.EntityLivingBase
	at net.minecraft.entity.projectile.EntityArrow.redirect$zeb000$utBlockFire(EntityArrow.java:731) ~[aeh.class:?]
	at net.minecraft.entity.projectile.EntityArrow.onHit(EntityArrow.java:366) ~[aeh.class:?]

Set this option to false fixing this crash:

# Prevents fire projectiles burning entities when blocking with shields
B:"Block Fire"=false

debug.zip

commented

This is how you file an issue report! ๐Ÿ‘