Skip to content

Commit ddb5195

Browse files
packbuilder/identifier.go: Use full item identifier for item texture
1 parent 930c985 commit ddb5195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/internal/packbuilder/items.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func buildItems(dir string) (count int, lang []string) {
2828
lang = append(lang, fmt.Sprintf("item.%s.name=%s", identifier, item.Name()))
2929

3030
name := strings.Split(identifier, ":")[1]
31-
textureData[name] = map[string]string{"textures": fmt.Sprintf("textures/items/%s.png", name)}
31+
textureData[identifier] = map[string]string{"textures": fmt.Sprintf("textures/items/%s.png", name)}
3232

3333
buildItemTexture(dir, name, item.Texture())
3434

0 commit comments

Comments
 (0)