mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 23:46:57 +01:00
Remove broken quickMoveStack implementation
By: md_5 <git@md-5.net>
This commit is contained in:
parent
8ea55f306a
commit
6cd6b91c36
1 changed files with 9 additions and 0 deletions
|
@ -65,6 +65,15 @@
|
|||
public void removeSlotListener(ICrafting icrafting) {
|
||||
this.containerListeners.remove(icrafting);
|
||||
}
|
||||
@@ -325,7 +369,7 @@
|
||||
}
|
||||
|
||||
public ItemStack quickMoveStack(EntityHuman entityhuman, int i) {
|
||||
- return ((Slot) this.slots.get(i)).getItem();
|
||||
+ return ItemStack.EMPTY; // CraftBukkit - previous implementation was useless and broken
|
||||
}
|
||||
|
||||
public void clicked(int i, int j, InventoryClickType inventoryclicktype, EntityHuman entityhuman) {
|
||||
@@ -381,7 +425,7 @@
|
||||
}
|
||||
} else if (this.quickcraftStatus == 2) {
|
||||
|
|
Loading…
Reference in a new issue