ForgePatch/patches/minecraft/net/minecraft/inventory/container/BeaconContainer.java.patch

16 lines
834 B
Diff

--- a/net/minecraft/inventory/container/BeaconContainer.java
+++ b/net/minecraft/inventory/container/BeaconContainer.java
@@ -87,10 +87,8 @@
}
slot.func_75220_a(itemstack1, itemstack);
- } else if (!this.field_82864_f.func_75216_d() && this.field_82864_f.func_75214_a(itemstack1) && itemstack1.func_190916_E() == 1) {
- if (!this.func_75135_a(itemstack1, 0, 1, false)) {
- return ItemStack.field_190927_a;
- }
+ } else if (this.func_75135_a(itemstack1, 0, 1, false)) { //Forge Fix Shift Clicking in beacons with stacks larger then 1.
+ return ItemStack.field_190927_a;
} else if (p_82846_2_ >= 1 && p_82846_2_ < 28) {
if (!this.func_75135_a(itemstack1, 28, 37, false)) {
return ItemStack.field_190927_a;