Minecraft's Version
1.21.1
This server is running Paper version 1.21-130-master@b1b5d4c (2024-08-10T10:02:42Z) (Implementing API version 1.21-R0.1-SNAPSHOT)
You are running the latest version
Plugin's Version
2026.1 stable freshly downloaded
Describe the bug
After a server restart the chunk collector chest only retains one ItemStack no matter how many were in it before.
To Reproduce
- Place ChunkCollector Chest
- Drop Items on the Ground & let them be collected
- Make sure more than one slot is filled in the chest
- Reboot the server
- See that only the last filled slot "survived" the reboot
Additional Information
https://github.com/BG-Software-LLC/WildChests/blob/dev/NMS/src/main/templates/AbstractNMSAdapter.java.template#L249
https://github.com/BG-Software-LLC/WildChests/blob/dev/NMS/src/main/templates/AbstractNMSAdapter.java.template#L274
The problem should be here. Newer versions do not have a problem with "loading wrongly tagged numerical values" since all numerical values get saved as Numerical Tags. In older versions (versions < 1.21.5) that was not the case causing the inventory load function to always use the default value of 0, thus overwriting the first slot in the chest over and over again until the loading is finished.
Minecraft's Version
1.21.1
This server is running Paper version 1.21-130-master@b1b5d4c (2024-08-10T10:02:42Z) (Implementing API version 1.21-R0.1-SNAPSHOT)
You are running the latest version
Plugin's Version
2026.1 stable freshly downloaded
Describe the bug
After a server restart the chunk collector chest only retains one ItemStack no matter how many were in it before.
To Reproduce
Additional Information
https://github.com/BG-Software-LLC/WildChests/blob/dev/NMS/src/main/templates/AbstractNMSAdapter.java.template#L249
https://github.com/BG-Software-LLC/WildChests/blob/dev/NMS/src/main/templates/AbstractNMSAdapter.java.template#L274
The problem should be here. Newer versions do not have a problem with "loading wrongly tagged numerical values" since all numerical values get saved as Numerical Tags. In older versions (versions < 1.21.5) that was not the case causing the inventory load function to always use the default value of 0, thus overwriting the first slot in the chest over and over again until the loading is finished.