Line 266 causes the TE to invalidate (probably because it removes the Multipart TE, invalidates it and all the parts inside it), and since World#setTileEntity doesn't set invalid TEs, it doesn't get set and thus, all data is lost. D:
Fixed by simply validating the TE before setting it.
This fixes issue #100.
Line 266 causes the TE to invalidate (probably because it removes the Multipart TE, invalidates it and all the parts inside it), and since World#setTileEntity doesn't set invalid TEs, it doesn't get set and thus, all data is lost. D:
Fixed by simply validating the TE before setting it.