Add a boolean like
Then whenever you open the G.E. interface you can make it true, then in wearItem.javaCode:public boolean inGe = false;
And then you can add the putiting the item in the GE with whatever method in ClickItemCode:if (inGe) return;
Code:if (inGe) methodMethod(bla,bla,bla...,bla);