0
0
mirror of https://github.com/PaperMC/Paper.git synced 2025-05-26 04:20:33 +00:00
Files
Bjarne Koll 8f62e0fb31 Correctly order getArmorContents
Mojangs EQUIPMENT_SLOT_MAPPING uses an Int2ObjectArrayMap and hence
technically does provide iteration stability, however it is filled from
a MapN, which destroys the well order of the entries.
To iterate from smallest to largest inventory index correctly, this
commit introduces a sorted array based on the EQUIPMENT_SLOT_MAPPING.
2025-04-13 11:41:59 +02:00
..
2025-04-12 17:27:00 +02:00
2025-04-12 17:27:00 +02:00