CyclopsMC / IntegratedTerminals

Terminals for managing and overviewing Integrated Dynamics networks
MIT License
5 stars 6 forks source link

drawer as item interface causes max items to become max int #52

Closed antrobot1234 closed 4 years ago

antrobot1234 commented 4 years ago

Issue type:


Short description:

Steps to reproduce the problem:

  1. attach a storage drawer to the network with an item interface

Expected behaviour:

for the drawer's single stack to be read as it's max size


Versions:

rubensworks commented 4 years ago

Did you use any special configurations in your drawer?

I suspect the drawers are effectively exposing their max item count as max int.

antrobot1234 commented 4 years ago

i didn't have anything special with my drawers

rubensworks commented 4 years ago

This seems to be caused by the way how drawers implements its capabilities: https://github.com/jaquadro/StorageDrawers/blob/1.12/src/com/jaquadro/minecraft/storagedrawers/capabilities/DrawerItemHandler.java#L134-L135

I would suggest opening an issue on their issue tracker. Feel free to link back to here.

GitHub
jaquadro/StorageDrawers
A mod adding compartmental storage for Minecraft Forge - jaquadro/StorageDrawers