@Override
public void keyTyped(char par1, int par2){
if(textfield.isFocused() && par2 != 1) {
textfield.textboxKeyTyped(par1, par2);
((ModuleAirGrate)module).entityFilter = textfield.getText();
NetworkHandler.sendToServer(new PacketUpdateAirGrateModule(module, textfield.getText()));
} else {
super.keyTyped(par1, par2);
}
}