mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-18 00:59:05 +00:00
Fixes #54
This commit is contained in:
@@ -42,7 +42,7 @@ public class CubotDrill extends CpuHardware {
|
||||
} else if (a == GATHER_SLOW || a == GATHER_FAST) {
|
||||
|
||||
if (cubot.spendEnergy(1400)) {
|
||||
if (cubot.getAction() == Action.IDLE) {
|
||||
if (cubot.getCurrentAction() == Action.IDLE) {
|
||||
int tile = cubot.getWorld().getTileMap().getTileAt(cubot.getX(), cubot.getY());
|
||||
|
||||
if (tile == TileMap.IRON_TILE) {
|
||||
|
||||
Reference in New Issue
Block a user