Skip to content

Commit 40292b1

Browse files
committed
fix: resource packs
1 parent 7d513e9 commit 40292b1

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
@@ -29,7 +29,7 @@ func GetTexturePath(texturePath string, textureString string) string {
2929
}
3030

3131
if os.Getenv("DEV") != "true" {
32-
return formattedPath
32+
return fmt.Sprintf("/assets/%s", formattedPath)
3333
}
3434

3535
return "http://localhost:8080/assets/" + formattedPath

0 commit comments

Comments
 (0)