mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-25 03:55:35 +01:00
Unstable
This commit is contained in:
parent
f8e5216b4d
commit
6b339dc1ce
@ -538,7 +538,6 @@ public class PlayerListener implements Listener {
|
||||
ItemStack oldStack = evt.getCurrentItem();
|
||||
Inventory inv = plugin.getServer().createInventory(null, evt.getInventory().getType());
|
||||
HashMap<Integer, ItemStack> map = inv.addItem(oldStack);
|
||||
|
||||
if (map.isEmpty() == false) {
|
||||
|
||||
ItemStack newStack = oldStack.clone();
|
||||
@ -546,7 +545,6 @@ public class PlayerListener implements Listener {
|
||||
quester.collectItem(newStack);
|
||||
|
||||
} else {
|
||||
System.out.println("Collecting " + oldStack);
|
||||
quester.collectItem(oldStack);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user