diff --git a/src/me/blackvein/quests/PlayerListener.java b/src/me/blackvein/quests/PlayerListener.java index c75fda122..43ee395f8 100644 --- a/src/me/blackvein/quests/PlayerListener.java +++ b/src/me/blackvein/quests/PlayerListener.java @@ -526,7 +526,7 @@ public class PlayerListener implements Listener { return; } - List changedSlots = Quester.getChangedSlots(evt.getInventory(), evt.getCurrentItem()); + List changedSlots = Quester.getChangedSlots(evt.getWhoClicked().getInventory(), evt.getCurrentItem()); System.out.println("Number of changed slots: " + changedSlots.size()); boolean can = true; for (int i : changedSlots) {