Botania

Botania

133M Downloads

Requesting items from StorageDrawers controller using Corporea network causes exceptions or crash depending on setup

Zarathul opened this issue ยท 0 comments

commented

Log: https://gist.github.com/Zarathul/b48fbe9d4bcc14e7d1d1c8b5d0738e86

2017-05-26_17 04 22

Left button produces the crash, right button causes same exception but no crash. With more complex setups a world can become unloadable because it crashes everytime (happened with mine).

Briefly looking over the log and code, it seems like the controller only supports capabilities (no IInventory) while the drawers themselves support both. Botanias StorageDrawers wrapper expects IInventory so shit goes boom.

https://github.com/jaquadro/StorageDrawers/blob/025c0e2501e842f3ec3de06b54013fe1301b265e/src/com/jaquadro/minecraft/storagedrawers/block/tile/TileEntityController.java

https://github.com/Vazkii/Botania/blob/69e48d116e1ed8f77c19c37277aff775d4d63586/src/main/java/vazkii/botania/common/integration/corporea/WrappedStorageDrawers.java#L41