mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
run through remap script
This commit is contained in:
1 parent
689aeba09b
commit
b8cf7cdc5e
208 files changed
+4117
-4117
No files matched your search
@@ -61,7 +61,7 @@ public class PacketSmeltery extends AbstractPacket {
|
||||
public void handleServerSide(EntityPlayer player) {
|
||||
World world = player.worldObj;
|
||||
|
||||
TileEntity te = world.func_147438_o(x, y, z);
|
||||
TileEntity te = world.getTileEntity(x, y, z);
|
||||
|
||||
if (te instanceof SmelteryLogic)
|
||||
{
|
||||
@@ -84,8 +84,8 @@ public class PacketSmeltery extends AbstractPacket {
|
||||
((SmelteryLogic) te).moltenMetal.add(0, temp);
|
||||
}
|
||||
//TODO check if this works like it should
|
||||
//Old code: PacketDispatcher.sendPacketToAllInDimension(te.func_145844_m(), dimension);
|
||||
FMLCommonHandler.instance().getClientToServerNetworkManager().func_150725_a(te.func_145844_m());
|
||||
//Old code: PacketDispatcher.sendPacketToAllInDimension(te.getDescriptionPacket(), dimension);
|
||||
FMLCommonHandler.instance().getClientToServerNetworkManager().scheduleOutboundPacket(te.getDescriptionPacket());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user