
[1.16] Torches are duped when using the bandolier
FynnWaelsing opened this issue ยท 1 comments
Versions
Minecraft Version: 1.16.1
Torch Bandolier Version: 1.16.1-1.5.0+10
Expected behavior
- Placing a torch with the bandolier and then breaking that torch and collecting should leave me with the same number of torches as I started with.
Actual behaviour
- Placing and then breaking and collecting torches causes the number of torches collected in the bandolier to slowly increase one by one
Steps to reproduce the problem
- Equip bandolier in off-hand (haven't tried otherwise) with the auto-collect option turned on.
- Place torch with bandolier.
- Break torch.
- Collect torch.
- Note that the number of torches in the bandolier is now the original total +1.
After some further testing, I've pinpointed exactly how the math seems to work. When you place x number of torches with the bandolier, it seems to add x+1 torches back to it when you break and collect one. So if you have four torches in the bandolier, place all four down, and then break one and collect it, you will now have five in the bandolier, with the other three still placed. If you break the other three without placing any more torches, the count will increment as normal, so you'll end up with 8 torches.