Fix end stone smelter not giving exp on shift-click
This is a one character buggfix for a bug that prevented players from getting exp when shift-clicking the output slot to retrieve the smelted item. See this for the original Forge issue that made me aware of the bug: https://github.com/Beethoven92/BetterEndForge/issues/85
This commit is contained in:
parent
056a23beb9
commit
505acbb56b
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ public class EndStoneSmelterScreenHandler extends RecipeBookMenu<Container> {
|
||||||
ItemStack itemStack2 = slot.getItem();
|
ItemStack itemStack2 = slot.getItem();
|
||||||
itemStack = itemStack2.copy();
|
itemStack = itemStack2.copy();
|
||||||
if (index == 3) {
|
if (index == 3) {
|
||||||
if (moveItemStackTo(itemStack2, 4, 40, true)) {
|
if (!moveItemStackTo(itemStack2, 4, 40, true)) {
|
||||||
return ItemStack.EMPTY;
|
return ItemStack.EMPTY;
|
||||||
}
|
}
|
||||||
slot.onQuickCraft(itemStack2, itemStack);
|
slot.onQuickCraft(itemStack2, itemStack);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue