Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-03 14:50:19 +01:00
Fix items on campfires (#1779)
Dieser Commit ist enthalten in:
Ursprung
eccb48844e
Commit
396d1b6b61
@ -47,7 +47,7 @@ public class CampfireBlockEntityTranslator extends BlockEntityTranslator {
|
||||
protected NbtMap getItem(CompoundTag tag) {
|
||||
ItemEntry entry = ItemRegistry.getItemEntry((String) tag.get("id").getValue());
|
||||
NbtMapBuilder tagBuilder = NbtMap.builder()
|
||||
.putShort("id", (short) entry.getBedrockId())
|
||||
.putString("Name", entry.getBedrockIdentifier())
|
||||
.putByte("Count", (byte) tag.get("Count").getValue())
|
||||
.putShort("Damage", (short) entry.getBedrockData());
|
||||
tagBuilder.put("tag", NbtMap.builder().build());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren