Ancient Warfare 2

Ancient Warfare 2

6M Downloads

[1.12.2] [2.6.0.239] Crash when using JEI in Warehouse crafting station

wamc2017 opened this issue ยท 7 comments

commented

Hi,

I researched the warehouse built it and added a crafting station to it. When the research book is in the right slot and I try to open the recipe for more storage blocks (for instance large warehouse block) in JEI the game crashes:

https://gist.github.com/wamc2017/c1e7666dd83176bbe4777ffc93838c6e

Mods used to test this issue (no other mods installed):
ancientwarfare-1.12.2-2.6.0.239
CodeChickenLib-1.12.2-3.1.8.341-universal
jei_1.12.2-4.9.2.196
forge-14.23.4.2707

Thanks for looking into it.

Best regards,
wamc

commented

Just to be sure, this happens when you don't have any storage blocks added to the warehouse yet, right?

commented

I added one storage block to the warehouse and the ingredients for the recipe are present in this storage block.

commented

Could you add a screenshot of your setup? It's obvious I have to fix something but I have tested warehouse quite a few times and never had this happen, just never tested without any storage block in it. So I am guessing you may have an issue with your setup that doesn't recognize the warehouse or its storage block

commented

Sure.

2018-06-05_14 00 12

Edit: I also tried jei_1.12.2-4.9.1.188 (the version used in the gradle.properties) with the same result. Maybe I should also mention that the crash only happens if the book is inside the crafting station and the book got the proper research for the warehouse (trade).

commented

alright so your issue is that crafting table goes on top of the controller as it checks for the existence of controller just below it, otherwise it doesn't know what to connect to. But I will also fix it so that it doesn't crash when used like this and maybe report a message to the user that it's not in correct position. And I will likely keep a note to allow this kind of usage in the future if I can make it so that it doesn't need to search for controller all the time.

commented

Oh, ok, I thought it worked this way back in 1.7.10, also tried to put the workstation in the four cardinal directions of the warehouse block, never thought about to put it on the top... ๐Ÿ˜„

Some indication what's wrong would be nice, because there isn't that much documentation around.

I'm closing this for now. Thanks. :)

commented

Reopening to fix the crash and at least keep a note to enhance GUI To provide some guidance.