mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 05:54:27 +00:00
Merge pull request #2790 from HenryLoenwind/allowStalledTasks
Allow for machines that have tasks that stall at the end
This commit is contained in:
commit
f784d04f31
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