Skip to content

Commit

Permalink
block/wool.go: Fix invalid item ids
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Nov 16, 2024
1 parent 43645da commit 5743097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/block/wool.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (w Wool) BreakInfo() BreakInfo {

// EncodeItem ...
func (w Wool) EncodeItem() (name string, meta int16) {
return "minecraft:wool", int16(w.Colour.Uint8())
return "minecraft:" + w.Colour.String() + "_wool", 0
}

// EncodeBlock ...
Expand Down

0 comments on commit 5743097

Please sign in to comment.