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