mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-16 13:34:06 +09:00
codices serialised into the savegame
This commit is contained in:
@@ -55,7 +55,7 @@ class BlockCodex {
|
||||
virtualToTile.clear()
|
||||
}
|
||||
|
||||
private constructor()
|
||||
internal constructor()
|
||||
|
||||
/**
|
||||
* Later entry (possible from other modules) will replace older ones
|
||||
|
||||
@@ -23,9 +23,9 @@ class WireCodex {
|
||||
wireProps.clear()
|
||||
}
|
||||
|
||||
private constructor() {
|
||||
internal constructor() {
|
||||
try {
|
||||
Terrarum.ItemCodex["testtesttest"]
|
||||
Terrarum.itemCodex["testtesttest"]
|
||||
}
|
||||
catch (e: UninitializedPropertyAccessException) {
|
||||
throw UninitializedPropertyAccessException("ItemCodex not initialised!")
|
||||
|
||||
Reference in New Issue
Block a user