CC: Restitched

CC: Restitched

3M Downloads

[bug] Chest reports 1billion getItemLimit in modded environment

MasonGulu opened this issue · 9 comments

commented

Useful information to include:

  • Minecraft version: 1.19
  • CC: Restitched version: 1.101.0
  • Logs: These will be located in the logs/ directory of your Minecraft instance. Please upload them as a gist or directly into this editor. N/A
  • Please send latest.log AND the appropriate crashlog, N/A
  • Detailed reproduction steps: sometimes I can spot a bug pretty easily, but often it's much more obscure. The more information I have to help reproduce it, the quicker it'll get fixed.

Calling getItemLimit on a vanilla chest results in 1000000000 returned. From the documentation I'd expect 64
Screenshot_20220727_224604
.

commented
commented

with the current info, I am unable to recreate the issue
image

commented

image
I am playing with many other mods. I should've tested this with just CC:R before submitting an issue, sorry for that.

commented

No worries! its always an good idea to test both, so then we can narrow down which mods cause problems! so we can figure out why that problem came to be, and fix it!

commented

https://pastebin.com/cC424nyp
Here's the modlist, it's quite extensive. I think it might be caused by the Reinforced series (Reinforced Barrels, Chests, and Shulkers). I'm going to test with just those mods and report my findings

commented

(ignore my screenshots, I didnt notice this was 1.19)

commented

image
yeah still not able to re-create issue, must be conflict with another mod...

commented

Hmm, I've just tested this with the Reinforced Series alone, and it reports the proper size. I'm not sure what other mods could be causing it.

commented

Since this isn't a CC:R issue I'll close this, I'll see about trying to find the actual culprit