Draconic Evolution

Draconic Evolution

77M Downloads

1.12-2.3.2.258 - Chaos Guardian Crystal Crash

EPIICTHUNDERCAT opened this issue ยท 5 comments

commented

Description

Crash while flying into Chaos Dragon Island! Seems like the error is in the (EntityGuardianCrystal.java:89)

Base information

  • Minecraft version: 1.12
  • Minecraft Forge version:2443
  • Mod Pack: Custom

Crash report

https://pastebin.com/NwKwvXTg

commented

This is ,a random issue that has been showing up since 1.10.2 and i still have absolutely no idea what causes it. For some reason the entity data manager sometimes returns an integer value when the value requested should be a float and that causes this crash.
This is on my bug list but for the moment i have no idea how to fix it. I will probably just end up building my own data manager at some point because vanilla's is just to problematic.

commented

gotcha, just saw this. did you find out its forge?

commented

Dont know if its forge. I just accidentally added the forge bug label

commented

It seems like a solution may be to cast to Number and then use its functions to get the type you want. For example, this line might be changed to:

health = ((Number)dataManager.get(HEALTH)).floatValue();
commented

Sure at this point i dont really see any other options. @covers1624 checked the bytecode for this and it looks like it should fix the issue.