GaylordFockerCN / SwordSoaring

Other
2 stars 1 forks source link

Crash when rain cutter sword hits iron's spell n spellbook summoned entities #2

Open SettingDust opened 2 months ago

SettingDust commented 2 months ago

https://github.com/SettingDust/dawncraft-fixes/issues/12

DawnCraft version: 2.0.12

How to reproduce:

  1. Spawn any iron's spell and spellbook summoned entities.
  2. Use the rain cutter identity skill and make the raincutter sword to hit the summoned entities.
SettingDust commented 2 months ago

@CherubicBoot You need to provide the crash report instead of only describe by words

CherubicBoot commented 2 months ago

Hi! ty for the repost, and I'd also like to apologize for not giving the proper information needed.

Here's the crash report: crash-2024-08-16_12.28.34-server.txt

This log also appeared in the server log the moment my rain cutter sword hits my summoned zombie:

[12:27:33] [Server thread/WARN] [Radium Class Analysis/]: Radium Class Analysis Error: Class net.p1nero.ss.entity.RainCutterSwordEntity cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: com/mojang/blaze3d/vertex/PoseStack. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @OnlyIn(value=Dist.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Radium handles this error by assuming the class cannot be included in some optimizations. [12:28:05] [spark-java-sampler-0-0/WARN] [spark/]: Timed out waiting for world statistics

Also, the crash only happens on a dedicated server, while doing the same thing in the singleplayer world freezes the world and makes the game not responding.

GaylordFockerCN commented 2 months ago

@CherubicBoot sorry it work well on my computer in singleplayer world... I try to fix it by crash report but i dont know whether it work, please try this and tell me the result ilbs.zip

CherubicBoot commented 2 months ago

@CherubicBoot sorry it work well on my computer in singleplayer world... I try to fix it by crash report but i dont know whether it work, please try this and tell me the result ilbs.zip

I tested the mod you sent in singleplayer world and it still immediately freezes my game. Also I forgot to mention this, but the summoned entities must be summoned by a spellbook/scroll (the summoned entities must be owned by the same player that shoot the rain cutter sword). The one spawned by spawn egg does not crash/freezes the game.