Requesting stack of size 1 instead of 0, because apparently AE doesn't like ghost stacks. Closes #1331.

This commit is contained in:
Florian Nücke 2015-07-25 15:04:41 +02:00
parent 00da2ee53e
commit 71c53de7b1

View File

@ -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