mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-18 03:25:32 +00:00
Initial work on powered spawner.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user