Fixing Quest item chest bug

This commit is contained in:
Blackvein 2012-11-08 12:00:54 -08:00
parent 33e5b78f2c
commit 3ef0154098
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ public class PlayerListener implements Listener {
return;
}
List<Integer> changedSlots = Quester.getChangedSlots(evt.getInventory(), evt.getCurrentItem());
List<Integer> changedSlots = Quester.getChangedSlots(evt.getWhoClicked().getInventory(), evt.getCurrentItem());
System.out.println("Number of changed slots: " + changedSlots.size());
boolean can = true;
for (int i : changedSlots) {