mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
apparently I was just doing it wrong :/
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user