diff --git a/core/src/com/riiablo/save/ItemData.java b/core/src/com/riiablo/save/ItemData.java index 97be2a07..69857885 100644 --- a/core/src/com/riiablo/save/ItemData.java +++ b/core/src/com/riiablo/save/ItemData.java @@ -213,7 +213,7 @@ public class ItemData { // TODO: should item location change if the item is dropped? is this what UNK3 and UNK5 represent? void drop() { assert cursor != INVALID_ITEM; - Item item = itemData.get(cursor); + Item item = remove(cursor); cursor = INVALID_ITEM; setLocation(item, null); }