mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-22 00:58:55 +01:00
Fixing Quest item chest bug
This commit is contained in:
parent
33e5b78f2c
commit
3ef0154098
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user