From 1015627d0788816c0f4bf5d38faba68f8517df44 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Thu, 22 Jan 2015 15:33:39 +0100 Subject: [PATCH] make robots actually use energy, fix a massive bug - only in 6.4.x, though, as i do not want to break most robot builds in a patch release --- common/buildcraft/core/robots/AIRobotRecharge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/core/robots/AIRobotRecharge.java b/common/buildcraft/core/robots/AIRobotRecharge.java index d308e0bf..1a1940be 100755 --- a/common/buildcraft/core/robots/AIRobotRecharge.java +++ b/common/buildcraft/core/robots/AIRobotRecharge.java @@ -37,7 +37,7 @@ public class AIRobotRecharge extends AIRobot { public void update() { PipeTransportPower powerProvider = (PipeTransportPower) ((DockingStation) robot.getDockingStation()).getPipe().pipe.transport; - int amount = robot.getBattery().receiveEnergy(1000, false); + int amount = robot.getBattery().receiveEnergy(1000, true); powerProvider.requestEnergy(robot.getDockingStation().side(), amount);