setting up the inventory using builder (during init) requires ingame.player to be nullable, lateinit won't work

This commit is contained in:
Song Minjae
2017-04-11 23:07:29 +09:00
parent e7f221a499
commit 498cf4709b
21 changed files with 132 additions and 103 deletions

View File

@@ -75,7 +75,7 @@ object PlayerBuilderSigrid {
// Test fill up inventory
p.inventory.add(16)
p.inventory.add(16, 512)
p.equipItem(ItemCodex[16])