preparing fluid updater: debug water bucket

This commit is contained in:
Minjae Song
2018-12-12 23:29:30 +09:00
parent 27f79238a1
commit 1f1d6f1eda
9 changed files with 67 additions and 200 deletions

View File

@@ -171,6 +171,10 @@ class UIItemInventoryElem(
// equip da shit
val itemEquipSlot = item!!.equipPosition
if (itemEquipSlot == GameItem.EquipPosition.NULL) {
TODO("Equip position is NULL, does this mean it's single-consume items like a potion?")
}
val player = (Terrarum.ingame!! as Ingame).actorNowPlaying
if (player == null) return false