Skip to content

Commit

Permalink
Fix items on campfires (GeyserMC#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy authored Jan 1, 2021
1 parent eccb488 commit 396d1b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void translateTag(NbtMapBuilder builder, CompoundTag tag, int blockState)
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());
Expand Down

0 comments on commit 396d1b6

Please sign in to comment.