Fixed scripted block not saving its data

This commit is contained in:
Goodbird committed 2024-01-21 23:48:58 +03:00
1 parent 75f16702fd
commit 38cdc25ceb
1 file changed
+1
@@ -145,6 +145,7 @@ public class TileScripted extends TileEntity implements IScriptBlockHandler {
@Override
public void writeToNBT(NBTTagCompound compound){
super.writeToNBT(compound);
getNBT(compound);
getDisplayNBT(compound);
timers.writeToNBT(compound);