Compare commits

..
2 changed files with 13 additions and 1 deletions

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@ mc_version=1.7.10
forge_version=10.13.4.1614-1.7.10
ccl_version=1.1.3.138
ccc_version=1.0.7.+
mod_version=2.0.0-beta-3-GTNH
mod_version=2.0.0-beta-4-GTNH
@@ -35,6 +35,18 @@ public class RecipeItemInputHandler implements IContainerInputHandler
public boolean mouseClicked(GuiContainer gui, int mousex, int mousey, int button)
{
ItemStack stackover = GuiContainerManager.getStackMouseOver(gui);
if(mousex < ItemPanels.bookmarkPanel.w && stackover != null) {
boolean cheat = NEIClientConfig.canCheatItem(stackover);
if(button == 0 && !cheat)
return GuiCraftingRecipe.openRecipeGui("item", stackover.copy());
if(button == 1 && !cheat)
return GuiUsageRecipe.openRecipeGui("item", stackover.copy());
NEIClientUtils.cheatItem(stackover, button, -1);
}
if(stackover == null || !(gui instanceof GuiRecipe))
return false;