implement new tectonic depthtracker API

This commit is contained in:
dfsek
2021-12-27 23:01:48 -07:00
parent 8d7468457f
commit ea5dd297cb
38 changed files with 224 additions and 129 deletions

View File

@@ -53,7 +53,7 @@ public class TerraScriptAddon implements AddonInitializer {
lootRegistry,
event.getPack().getOrCreateRegistry(FunctionBuilder.class));
} catch(ParseException e) {
throw new LoadException("Failed to load script \"" + entry.getKey() + "\"", e);
throw new RuntimeException("Failed to load script \"" + entry.getKey() + "\"", e);
}
})
.toList()