Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 08:10:11 +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()) {
|
if (!enchantNbtList.isEmpty()) {
|
||||||
builder.putList("ench", NbtType.COMPOUND, enchantNbtList);
|
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