Clear ghost slots on tab changes

This commit is contained in:
Raven Szewczyk committed 2022-06-25 16:50:16 +01:00
1 parent af22ca9409
commit 2f25c69103
1 file changed
+1
@@ -165,6 +165,7 @@ public class GuiExternalConnection extends GuiContainerBaseEIO {
if(x > tabLeftX && x < tabRightX + 24) {
if(y > minY && y < maxY) {
tabs.get(activeTab).deactivate();
getGhostSlots().clear();
activeTab = (y - minY) / 24;
initGui();
return;