Fixed JEI "Show Recipes" interference
This commit is contained in:
@@ -34,8 +34,8 @@ public class GuiSolderer extends GuiBase {
|
|||||||
drawString(7, 7, t("gui.refinedstorage:solderer"));
|
drawString(7, 7, t("gui.refinedstorage:solderer"));
|
||||||
drawString(7, 77, t("container.inventory"));
|
drawString(7, 77, t("container.inventory"));
|
||||||
|
|
||||||
if (inBounds(83, 38, 22, 15, mouseX, mouseY) && TileSolderer.WORKING.getValue()) {
|
if (TileSolderer.WORKING.getValue()) {
|
||||||
drawTooltip(mouseX, mouseY, getProgressScaled(100) + "%");
|
drawString(86, 59, getProgressScaled(100) + "%");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class RSJEIPlugin extends BlankModPlugin {
|
|||||||
|
|
||||||
registry.addAdvancedGuiHandlers(new GuiHandlerGrid());
|
registry.addAdvancedGuiHandlers(new GuiHandlerGrid());
|
||||||
|
|
||||||
registry.addRecipeClickArea(GuiSolderer.class, 80, 36, 28, 19, RecipeCategorySolderer.ID);
|
registry.addRecipeClickArea(GuiSolderer.class, 80, 36, 22, 15, RecipeCategorySolderer.ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user