diff --git a/scripts/src/lib/Template.svelte b/scripts/src/lib/Template.svelte index 1c1c2926..c529887b 100644 --- a/scripts/src/lib/Template.svelte +++ b/scripts/src/lib/Template.svelte @@ -92,7 +92,7 @@ } async function generate() { - if (modIdErrors != undefined) { + if (modIdErrors != undefined || modid === "") { return; } @@ -156,6 +156,10 @@ {/if} + + {#if modid === ""} +

The Modname can not be empty!

+ {/if} {#if customModId != undefined}