Ice_and_Fire icon indicating copy to clipboard operation
Ice_and_Fire copied to clipboard

[Bug]: Server crash when attacking Dragon

Open wesselvans opened this issue 4 months ago • 0 comments

What happened?

I was attacking the Dragon with a Legendary Bow with flame and infinity, and then the server crashed. Everytime I attack the dragon with the Legendary Bow the server crashed. When a projectile from the DungeonsWeaponry:Sabrewing bow hits a dragon part from Ice and Fire (EntityDragonPart), a ClassCastException occurs, causing the server to crash.

Crash Summary:

Minecraft Version: 1.20.1 Forge Version: 47.3.10 Mods Involved: Dungeons Weaponry (1.16.2-1.20.1) and Ice and Fire (2.1.13-1.20.1)

Crash report

Minecraft Version

1.20.1

Ice and Fire version

iceandfire-2.1.13-1.20.1-beta-5

Citadel version

citadel-2.6.0-1.20.1

Relevant log output

java.lang.ClassCastException: class com.github.alexthe666.iceandfire.entity.EntityDragonPart 
cannot be cast to class net.minecraft.world.entity.LivingEntity 
(com.github.alexthe666.iceandfire.entity.EntityDragonPart is in module [email protected] of loader 'TRANSFORMER' @20fcea37; 
net.minecraft.world.entity.LivingEntity is in module [email protected] of loader 'TRANSFORMER' @20fcea37)
    at com.jeremyseq.DungeonsWeaponry.items.bows.legendary.Sabrewing.onHitEntity(Sabrewing.java:45) ~[dungeonsweaponry-1.16.2-1.20.1.jar%23290!/:1.16.2-1.20.1]
    at com.jeremyseq.DungeonsWeaponry.items.bows.DungeonArrow.m_5790_(DungeonArrow.java:76) ~[dungeonsweaponry-1.16.2-1.20.1.jar%23290!/:1.16.2-1.20.1]
    at net.minecraft.world.entity.projectile.Projectile.m_6532_(Projectile.java:138) ~[server-1.20.1-20230612.114412-srg.jar%23393!/:?]

Other Information

  • [X] I am using other mods besides Ice and Fire
  • [X] I have attached a log file from the session that I have experienced this issue

wesselvans avatar Oct 14 '24 15:10 wesselvans