Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
Translate item repair cost component
Dieser Commit ist enthalten in:
Ursprung
74d6a37261
Commit
ff9965f559
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren