Fixed controller still drawing power even if disabled
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
- Fixed stacks not splitting between storages correctly
|
- Fixed stacks not splitting between storages correctly
|
||||||
- Fixed storage not saving ItemStack capabilities
|
- Fixed storage not saving ItemStack capabilities
|
||||||
- Fixed dropping items into crafting grid with mouse won't work if your mouse is in between items
|
- Fixed dropping items into crafting grid with mouse won't work if your mouse is in between items
|
||||||
|
- Fixed controller still drawing power even if disabled
|
||||||
|
|
||||||
**Features**
|
**Features**
|
||||||
- Added an API
|
- Added an API
|
||||||
|
@@ -121,8 +121,11 @@ public class TileController extends TileBase implements IEnergyReceiver, ISynchr
|
|||||||
craftingTasks.pop();
|
craftingTasks.pop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else if (!machines.isEmpty()) {
|
||||||
|
// Machine list should NOT be empty to trigger a disconnect
|
||||||
|
// We need to sync machines again to reset energy usage etc
|
||||||
disconnectAll();
|
disconnectAll();
|
||||||
|
syncMachines();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (couldRun != mayRun()) {
|
if (couldRun != mayRun()) {
|
||||||
|
Reference in New Issue
Block a user