BFAPI

BFAPI

264k Downloads

Items not stacking on fabric server

zoharTRP opened this issue ยท 3 comments

commented

I run a fabric Minecraft server for me and some friends, when I started the server for the thirst time it had several server-side mods along with bfapi for fabricsit. As soon as we broke some blocks we noticed some weird behavior with items stacking. What was happening is that if you broke blocks in everything would be fine but if at any point you used the stack of the blocks you were mining/obtaining and then continuing to get more it would create a different stack. As soon as I removed bfapi the issue got fixed.

Problem demonstrated below:

bfapi.bug.mp4
commented

Thanks for the report, I'll begin trying to reproduce now <3

commented

I have discovered what I believe to be the problem (shockingly it isn't SlotMixin). When an ItemStack is 'used' (clicked on a block etc) BFAPI will check for a mark, but while doing so it will use 'getOrCreateNbt' meaning the stack will become unstackable with unused items.

I have patched this out in 1.3.1, please update as soon as you can and thank you for the report with a video <3

commented

No problem, honestly annoyed the hell out of me and my friends so I was like let's actually make the problem easy to understand with a video. Personally, I am always annoyed when people don't have a video.
Thank you for updating asap xx