Auto-Sync

This commit is contained in:
DarkGuardsman 2013-09-16 07:30:40 -04:00
parent 42c8b7551f
commit 4b18a6b8b5
3 changed files with 6 additions and 5 deletions

View file

@ -3,6 +3,7 @@ package dark.farmtech.client;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import dark.farmtech.CommonProxy; import dark.farmtech.CommonProxy;
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public class ClientProxy extends CommonProxy public class ClientProxy extends CommonProxy
{ {

View file

@ -47,7 +47,7 @@ public class EntityFarmDrone extends EntityLiving implements IElectricalStorage
{ {
//TODO stop work and return home //TODO stop work and return home
} }
if (this.home == null) if (this.home == null || this.getEnergyStored() <= 0)
{ {
//TODO turn into block, or have go dormant //TODO turn into block, or have go dormant
} }