Initial work on powered spawner.

This commit is contained in:
CrazyPants committed 2014-06-16 23:05:52 +08:00
1 parent 1553fbbf12
commit a4bfc60b7d
14 files changed
+485 -74

No files matched your search

@@ -103,10 +103,8 @@ public abstract class AbstractPoweredTaskEntity extends AbstractMachineEntity {
// Then see if we need to start a new one
IMachineRecipe nextRecipe = canStartNextTask(chance);
if(nextRecipe != null) {
boolean started = startNextTask(nextRecipe, chance);
if(started != startFailed) {
PacketHandler.sendToAllAround(new PacketCurrentTask(this), this);
}
boolean started = startNextTask(nextRecipe, chance);
PacketHandler.sendToAllAround(new PacketCurrentTask(this), this);
startFailed = !started;
} else {
startFailed = true;