mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-17 19:15:09 +00:00
Allow for machines that have tasks that stall at the end
This allows machines to have tasks that are complete but cannot be finished. With this they can sit there and not use power.
This commit is contained in:
1 parent
504e74636b
commit
3ee13a730e
1 file changed
+1
-1
@@ -134,7 +134,7 @@ public abstract class AbstractPoweredTaskEntity extends AbstractPowerConsumerEnt
|
||||
if(currentTask == null || !hasPower()) {
|
||||
return false;
|
||||
}
|
||||
if(redstoneChecksPassed) {
|
||||
if (redstoneChecksPassed && !currentTask.isComplete()) {
|
||||
usePower();
|
||||
}
|
||||
// then check if we are done
|
||||
|
||||
Reference in new issue
Block a user