Skip to content

Commit eb29dc6

Browse files
committed
fix: leather endpoint
1 parent 385185a commit eb29dc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/custom_resources.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ func ApplyTexture(item models.TextureItem) string {
348348
}
349349

350350
if os.Getenv("DEV") != "true" {
351-
return fmt.Sprintf("/assets/resourcepacks/Vanilla/assets/firmskyblock/models/item/leather_%s_%s.png", armorType, armorColor)
351+
return fmt.Sprintf("/api/leather/%s/%s", armorType, armorColor)
352352
}
353353

354354
return fmt.Sprintf("http://localhost:8080/api/leather/%s/%s", armorType, armorColor)

0 commit comments

Comments
 (0)