mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
ItemMap no longer ignores repair level
This commit is contained in:
@@ -105,12 +105,7 @@ public class ItemMap {
|
||||
}
|
||||
|
||||
private static ItemStack INTERNAL_createKey(ItemStack item) {
|
||||
item = item.asOne(); // this also clones the stack
|
||||
ItemUtils.handleItemMeta(item, (Repairable meta) -> {
|
||||
meta.setRepairCost(0);
|
||||
return true;
|
||||
});
|
||||
return item;
|
||||
return item.asOne();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user