mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Fix issue with update not being reobfed.
TileEntityBasicBlock doesn't implement ITickable, so its update() doesn't get reobfed. Call update directly from subclasses that do.
This commit is contained in:
1 parent
628c5865ca
commit
f18304838c
3 files changed
+18
No files matched your search
@@ -61,6 +61,12 @@ public class TileEntityBin extends TileEntityBasicBlock implements ISidedInvento
|
||||
|
||||
public int clientAmount;
|
||||
|
||||
@Override
|
||||
public void update()
|
||||
{
|
||||
super.update();
|
||||
}
|
||||
|
||||
public void sortStacks()
|
||||
{
|
||||
if(getItemCount() == 0 || itemType == null)
|
||||
|
||||
@@ -32,6 +32,12 @@ public abstract class TileEntityContainerBlock extends TileEntityBasicBlock impl
|
||||
fullName = name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update()
|
||||
{
|
||||
super.update();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound nbtTags)
|
||||
{
|
||||
|
||||
@@ -15,6 +15,12 @@ import net.minecraft.util.ITickable;
|
||||
public class TileEntitySuperheatingElement extends TileEntityInternalMultiblock implements ITickable
|
||||
{
|
||||
public boolean prevHot;
|
||||
|
||||
@Override
|
||||
public void update()
|
||||
{
|
||||
super.update();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setMultiblock(String id)
|
||||
|
||||
Reference in new issue
Block a user