apparently I was just doing it wrong :/

This commit is contained in:
minjaesong
2021-12-03 19:48:16 +09:00
parent 1a250ee095
commit f456ed3de3
9 changed files with 91 additions and 61 deletions

View File

@@ -58,7 +58,7 @@ class BlockCodex {
/**
* Later entry (possible from other modules) will replace older ones
*/
internal constructor(module: String, path: String) : this() {
fun fromModule(module: String, path: String) {
App.printmsg(this, "Building block properties table")
try {
register(module, CSVFetcher.readFromModule(module, path))

View File

@@ -38,7 +38,7 @@ class WireCodex {
* @param module name of the module
* @param path to the "wires" directory, not path to the CSV; must end with a slash!
*/
internal constructor(module: String, path: String) : this() {
fun fromModule(module: String, path: String) {
App.printmsg(this, "Building wire properties table for module $module")
try {
register(module, path, CSVFetcher.readFromModule(module, path + "wires.csv"))