mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Call markDirty when restoring blocks with TileEntities. (#2807)
This change makes sure the updated tileentity is saved properly within the chunk.
This commit is contained in:
1 parent
7c6372202e
commit
b53e53dcb7
1 file changed
+2
@@ -178,6 +178,7 @@ public class BlockSnapshot implements Serializable
|
||||
if (te != null)
|
||||
{
|
||||
te.readFromNBT(nbt);
|
||||
te.markDirty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -213,6 +214,7 @@ public class BlockSnapshot implements Serializable
|
||||
if (te != null)
|
||||
{
|
||||
te.readFromNBT(nbt);
|
||||
te.markDirty();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user