public void readData(DataInputStream data) throws IOException {
try {
EntityPlayer player = Minecraft.getMinecraft().thePlayer;
ItemStack current = player.getCurrentEquippedItem();
if (current != null && current.getItem() == ItemTicketGold.item)
Minecraft.getMinecraft().displayGuiScreen(new GuiTicket(player, current));
} catch (Exception exception) {
Game.logThrowable("Error reading Golden Ticket Gui Packet", exception);
}
}