gui.getButtonList().add(new GuiButton(11, 30, 128, 150, 20, "Move Stat Screen..."));
if(searchGui != null && player.getCurrentArmor(3) != null) {
ItemStack searchStack = searchGui.getSearchStack();
ItemStack helmetStack = ItemPneumaticArmor.getSearchedStack(player.getCurrentArmor(3));
if(searchStack == null && helmetStack != null || searchStack != null && helmetStack == null || searchStack != null && helmetStack != null && !searchStack.isItemEqual(helmetStack)) {
NetworkHandler.sendToServer(new PacketUpdateSearchStack(searchStack));
NBTTagCompound tag = NBTUtil.getCompoundTag(player.getCurrentArmor(3), "SearchStack");
tag.setInteger("itemID", searchStack != null ? Item.getIdFromItem(searchStack.getItem()) : -1);
tag.setInteger("itemDamage", searchStack != null ? searchStack.getItemDamage() : -1);
}
}