Fixed not calling super.update()
This commit is contained in:
parent
07f01b6696
commit
b3eefca979
1 changed files with 2 additions and 1 deletions
|
@ -6,13 +6,14 @@ import dark.library.PowerSystems;
|
|||
|
||||
public class TileEntityRunnableMachine extends TileEntityUniversalRunnable
|
||||
{
|
||||
|
||||
/** The amount of players using the console. */
|
||||
public int playersUsing = 0;
|
||||
|
||||
@Override
|
||||
public void updateEntity()
|
||||
{
|
||||
super.updateEntity();
|
||||
|
||||
if (this.wattsReceived < this.getWattBuffer() && PowerSystems.runPowerLess(PowerSystems.INDUSTRIALCRAFT, PowerSystems.BUILDCRAFT, PowerSystems.MEKANISM))
|
||||
{
|
||||
this.wattsReceived += Math.max(this.getWattBuffer() - this.wattsReceived, 0);
|
||||
|
|
Loading…
Reference in a new issue