The id defined for the dummy item id, which is used to check walkability, used to be wolg, which is a base id for the Wirt's Other Leg item, it has been replaced by a generated one in this commit but the generate id isn't used in any object definition.
This variable end up being null since there's no item linked to the DUMMY_ITEM_ID.
This is causing the dummyItem.getPos() call to always return (0, 0) and therefore, the method isTerrainWalkable() always returns false.
Is createItem(DUMMY_ITEM_ID, ZERO2) supposed to not return null when the DUMMY_ITEM_ID doesn't refer an item that has been defined? Or @Frotty forgot to create an ItemDefinition for the dummy item?
Hello there,
The id defined for the dummy item id, which is used to check walkability, used to be
wolg
, which is a base id for theWirt's Other Leg
item, it has been replaced by a generated one in this commit but the generate id isn't used in any object definition.This variable end up being
null
since there's no item linked to theDUMMY_ITEM_ID
.This is causing the dummyItem.getPos() call to always return
(0, 0)
and therefore, the method isTerrainWalkable() always returns false.Is
createItem(DUMMY_ITEM_ID, ZERO2)
supposed to not returnnull
when theDUMMY_ITEM_ID
doesn't refer an item that has been defined? Or @Frotty forgot to create an ItemDefinition for the dummy item?