mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
Some more forge code fixes
This commit is contained in:
1 parent
befbb45522
commit
fffbc0f078
4 files changed
+14
-6
No files matched your search
@@ -139,7 +139,7 @@ public class BlockSnapshot implements Serializable
|
||||
public TileEntity getTileEntity()
|
||||
{
|
||||
if (nbt != null)
|
||||
return TileEntity.createAndLoadEntity(nbt);
|
||||
return TileEntity.func_184246_b(getWorld().getMinecraftServer(), nbt);
|
||||
else return null;
|
||||
}
|
||||
|
||||
@@ -170,7 +170,7 @@ public class BlockSnapshot implements Serializable
|
||||
}
|
||||
|
||||
world.setBlockState(pos, replaced, applyPhysics ? 3 : 2);
|
||||
world.markBlockForUpdate(pos);
|
||||
world.func_184138_a(pos, current, replaced, applyPhysics ? 3 : 2);
|
||||
TileEntity te = null;
|
||||
if (nbt != null)
|
||||
{
|
||||
@@ -205,7 +205,7 @@ public class BlockSnapshot implements Serializable
|
||||
}
|
||||
|
||||
world.setBlockState(pos, replaced, applyPhysics ? 3 : 2);
|
||||
world.markBlockForUpdate(pos);
|
||||
world.func_184138_a(pos, current, replaced, applyPhysics ? 3 : 2);
|
||||
TileEntity te = null;
|
||||
if (nbt != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user