1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-09 16:21:51 +00:00

"Fix" ModInterface not accepting mod:// URLs

Remove the check of URL beginning with data:image. This is an old API,
so leave other quirks as-is.
This commit is contained in:
Даниїл Григор'єв 2025-06-19 07:35:11 +03:00
parent 7854e10173
commit f949fb14bd
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D

View File

@ -78,7 +78,6 @@ export class ModInterface {
}
registerSprite(spriteId, base64string) {
assert(base64string.startsWith("data:image"));
const img = new Image();
const sprite = new AtlasSprite(spriteId);