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:
parent
7854e10173
commit
f949fb14bd
@ -78,7 +78,6 @@ export class ModInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
registerSprite(spriteId, base64string) {
|
registerSprite(spriteId, base64string) {
|
||||||
assert(base64string.startsWith("data:image"));
|
|
||||||
const img = new Image();
|
const img = new Image();
|
||||||
|
|
||||||
const sprite = new AtlasSprite(spriteId);
|
const sprite = new AtlasSprite(spriteId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user