3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-25 15:50:14 +01:00

Translate item repair cost component

Dieser Commit ist enthalten in:
AJ Ferguson 2024-04-30 05:49:22 -04:00
Ursprung 74d6a37261
Commit ff9965f559

Datei anzeigen

@ -146,6 +146,11 @@ public class Item {
if (!enchantNbtList.isEmpty()) {
builder.putList("ench", NbtType.COMPOUND, enchantNbtList);
}
Integer repairCost = components.get(DataComponentType.REPAIR_COST);
if (repairCost != null) {
builder.putInt("RepairCost", repairCost);
}
}
/**