We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 930c985 commit ddb5195Copy full SHA for ddb5195
server/internal/packbuilder/items.go
@@ -28,7 +28,7 @@ func buildItems(dir string) (count int, lang []string) {
28
lang = append(lang, fmt.Sprintf("item.%s.name=%s", identifier, item.Name()))
29
30
name := strings.Split(identifier, ":")[1]
31
- textureData[name] = map[string]string{"textures": fmt.Sprintf("textures/items/%s.png", name)}
+ textureData[identifier] = map[string]string{"textures": fmt.Sprintf("textures/items/%s.png", name)}
32
33
buildItemTexture(dir, name, item.Texture())
34
0 commit comments