mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
Update to 1.11.2. Untested, still using outdated MCMP
This commit is contained in:
1 parent
2b02042f4c
commit
6a42eb64e3
666 files changed
+11360
-3713
No files matched your search
@@ -38,7 +38,7 @@ public class TileEntitySuperheatingElement extends TileEntityInternalMultiblock
|
||||
|
||||
super.setMultiblock(id);
|
||||
|
||||
if(packet && !worldObj.isRemote)
|
||||
if(packet && !world.isRemote)
|
||||
{
|
||||
Mekanism.packetHandler.sendToReceivers(new TileEntityMessage(Coord4D.get(this), getNetworkedData(new ArrayList<Object>())), new Range4D(Coord4D.get(this)));
|
||||
}
|
||||
@@ -47,7 +47,7 @@ public class TileEntitySuperheatingElement extends TileEntityInternalMultiblock
|
||||
@Override
|
||||
public void onUpdate()
|
||||
{
|
||||
if(worldObj.isRemote)
|
||||
if(world.isRemote)
|
||||
{
|
||||
boolean newHot = false;
|
||||
|
||||
@@ -58,7 +58,7 @@ public class TileEntitySuperheatingElement extends TileEntityInternalMultiblock
|
||||
|
||||
if(prevHot != newHot)
|
||||
{
|
||||
MekanismUtils.updateBlock(worldObj, getPos());
|
||||
MekanismUtils.updateBlock(world, getPos());
|
||||
|
||||
prevHot = newHot;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user