mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-13 19:26:14 +00:00
include script path in script compile errors
This commit is contained in:
@@ -45,7 +45,7 @@ public class TerraScriptAddon extends TerraAddon {
|
||||
event.getPack().getRegistryFactory().create());
|
||||
structureRegistry.register(structureScript.getID(), structureScript);
|
||||
} catch(ParseException e) {
|
||||
throw new LoadException("Failed to load script: ", e);
|
||||
throw new LoadException("Failed to load script \"" + entry.getKey() + "\"", e);
|
||||
}
|
||||
}
|
||||
}).close();
|
||||
|
||||
Reference in New Issue
Block a user