not reading material csv issue fixed

This commit is contained in:
minjaesong
2019-03-12 00:47:06 +09:00
parent 7171055016
commit bae9c60c81
12 changed files with 124 additions and 60 deletions

View File

@@ -64,7 +64,7 @@ class EntryPoint : ModuleEntryPoint() {
override var stackable = true
override var inventoryCategory = if (i in ItemCodex.ITEM_TILES) Category.BLOCK else Category.WALL
override var isDynamic = false
override val material = MaterialCodex[blockProp.material]
override val material = MaterialCodex.getOrDefault(blockProp.material)
init {
equipPosition = EquipPosition.HAND_GRIP