mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Requesting stack of size 1 instead of 0, because apparently AE doesn't like ghost stacks. Closes #1331.
This commit is contained in:
parent
00da2ee53e
commit
71c53de7b1
@ -19,7 +19,7 @@ object AEUtil {
|
||||
else areChannelsEnabledOld
|
||||
}
|
||||
|
||||
private def areChannelsEnabledNew: Boolean = AEApi.instance.definitions.blocks.controller.maybeStack(0).isPresent
|
||||
private def areChannelsEnabledNew: Boolean = AEApi.instance.definitions.blocks.controller.maybeStack(1).isPresent
|
||||
|
||||
private def areChannelsEnabledOld: Boolean = AEApi.instance.blocks != null && AEApi.instance.blocks.blockController != null && AEApi.instance.blocks.blockController.item != null
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user