Skip to content

Commit

Permalink
Fix #1186 Ghost items from JEI overlap items held on the player cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed May 27, 2018
1 parent 677d286 commit 5ec8945
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -343,7 +343,8 @@ public boolean handleMouseClicked(int mouseX, int mouseY, int mouseButton) {
clicked.onClickHandled();
return true;
}
if (this.ghostIngredientDragManager.handleClickGhostIngredient(currentScreen, clicked)) {
ItemStack mouseItem = minecraft.player.inventory.getItemStack();
if (mouseItem.isEmpty() && this.ghostIngredientDragManager.handleClickGhostIngredient(currentScreen, clicked)) {
return true;
}
}
Expand Down

0 comments on commit 5ec8945

Please sign in to comment.