Integrated Dynamics

Integrated Dynamics

63M Downloads

Code never runs

josephcsible opened this issue ยท 1 comments

commented

@Override
public void writeGeneratedFieldsToNBT(NBTTagCompound tag) {
tag.setInteger("world", world);
tag.setInteger("entity", entity);
}
@Override
public void readGeneratedFieldsFromNBT(NBTTagCompound tag) {
this.world = tag.getInteger("world");
this.entity = tag.getInteger("entity");
}

This code never runs. This is an abstract class, and both of its concrete subclasses override these methods without calling super.

commented

Haven't seen any bug reports related to this yet. But looks like something that needs fixing in any case.