if (effective.size() == 0) {
return;
} else if (effective.size() == 1) {
effective.iterator().next().summon(key, !keyPressed, screen);
} else if (screen == 0 || (getPressedModifiers() != 0 && getPressedModifiers() != AbstractBinding.MOD_SHIFT)) {
GuiScreen parent = SpoutClient.getHandle().currentScreen;
SpoutClient.getHandle().displayGuiScreen(new GuiAmbigousInput(effective, parent));
} else {
GuiScreen parent = SpoutClient.getHandle().currentScreen;
if (!(parent instanceof GuiChat)) {
Spoutcraft.getActivePlayer().showAchievement("Multiple Bindings ...", "are assigned to Key " + Keyboard.getKeyName(key), Block.workbench.blockID);
}
}
}