AbyssalCraft

AbyssalCraft

20M Downloads

Entity NBT being read/written with the wrong data type

Shinoow opened this issue ยท 1 comments

commented

Description:

In some cases mob data saved to NBT (like whether or not a mob is a child, to name one) is saved as the wrong data type (I think the most notable one is integers being saved as bytes). Haven't done a thorough search among closed issues for the symptoms of this crashing, but it can cause crashes by the looks of it (might be in combination with another mod that ends up exposing the error).

Sample of it causing a crash in the crash report section (courtesy of Darkly Steamgear)

Solution is to just go over every entity this mod adds and correct the NBT reading/writing.

Crash report:

https://mclo.gs/JFprD2c


Affected versions ("latest" is NOT a version):

  • Minecraft: 1.12.2
  • Forge: Any (not a factor)
  • AbyssalCraft: Any (this has inherently been wrong since the dawn of time)

Latest log file for when the issue was present:

commented

Might actually specifically be the handling on mob data regarding the mob being a child that's the root of this issue. Granted, I would still say another mod is exposing the error as with the mod alone this doesn't crash. Something is poking at the DataManager in mobs.