mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 20:44:05 +09:00
monitor adjustment screen, changed "calibrate" to "adjust" (NOT the STRING_ID of langpack)
Former-commit-id: ffae41e5876e54e2e0aedb5a93092db8e8f75d01 Former-commit-id: 65883b385a205d47b76c60f18a91186c2be922b2
This commit is contained in:
@@ -32,7 +32,7 @@ object ItemPropCodex {
|
||||
if (code < ITEM_UNIQUE_MAX) // generic item
|
||||
return itemCodex[code]
|
||||
else {
|
||||
val a = Terrarum.game.getActorByID(code) // actor item
|
||||
val a = Terrarum.ingame.getActorByID(code) // actor item
|
||||
if (a is CanBeAnItem) return a.itemData
|
||||
|
||||
throw IllegalArgumentException("Attempted to get item data of actor that cannot be an item. ($a)")
|
||||
|
||||
Reference in New Issue
Block a user