Conduit gui fixes (#76)

* Fix swapped insert/extract filter locations in the guis

* Fix filters sometimes causing dropping items and left clicking to clear ender fluid filters
This commit is contained in:
Raven Szewczyk authored and GitHub committed 2022-07-02 10:47:41 +02:00
1 parent 3ed88d87a6
commit 3358691fef
9 files changed
+39 -27

No files matched your search

@@ -117,14 +117,14 @@ public class BaseSettingsPanel implements ITabPanel {
filterExtractUpgradeTooltip = new GuiToolTip(new Rectangle(rightColumn, 70, 18, 18), EnderIO.lang.localize("gui.conduit.item.filterupgrade")) {
@Override
public boolean shouldDraw() {
return !gui.getContainer().hasFilterUpgrades(false) && super.shouldDraw();
return !gui.getContainer().hasFilterUpgrades(true) && super.shouldDraw();
}
};
filterInsertUpgradeTooltip = new GuiToolTip(new Rectangle(leftColumn, 70, 18, 18), EnderIO.lang.localize("gui.conduit.item.filterupgrade")) {
@Override
public boolean shouldDraw() {
return !gui.getContainer().hasFilterUpgrades(true) && super.shouldDraw();
return !gui.getContainer().hasFilterUpgrades(false) && super.shouldDraw();
}
};