From 2cecdccdd9093a1195e67f3ddba487e6384dd1ce Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Sat, 30 May 2020 20:21:35 -0700 Subject: [PATCH] Added additional debug logging for CharData item management calls --- core/src/com/riiablo/save/CharData.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/com/riiablo/save/CharData.java b/core/src/com/riiablo/save/CharData.java index e4a3c4ac..8e1e795f 100644 --- a/core/src/com/riiablo/save/CharData.java +++ b/core/src/com/riiablo/save/CharData.java @@ -381,14 +381,17 @@ public class CharData implements ItemData.UpdateListener, Pool.Poolable { } public void groundToCursor(Item item) { + if (DEBUG_ITEMS) Gdx.app.log(TAG, "groundToCursor " + item); itemData.pickup(item); } public void cursorToGround() { + if (DEBUG_ITEMS) Gdx.app.log(TAG, "cursorToGround"); itemData.drop(); } public void itemToCursor(int i) { + if (DEBUG_ITEMS) Gdx.app.log(TAG, "itemToCursor " + i); itemData.pickup(i); }