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:
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