1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-20 08:27:38 +00:00
Files
CC-Tweaked/projects
Jonathan Coates d0fbec6c6b Add bounds checks for compartment lookup
This *shouldn't* be needed, as the compartment index is always >= 0, and
Inventory.getItem returns an empty stack if the item is not found.

However, some mods pass a negative compartment index, which causes
getItem to throw an AIOOB instead.

Fixes #2267
2025-08-28 08:10:35 +01:00
..
2025-08-27 06:47:42 +01:00
2025-03-20 19:16:16 +00:00
2025-03-20 19:16:16 +00:00
2025-01-09 20:47:51 +00:00
2025-02-16 18:09:15 +00:00
2025-07-02 09:21:43 +01:00
2023-10-28 17:58:11 +01:00