switch (GuiId.values()[id]) {
case MultiFarmGUI:
TileFarmPlain tile = (TileFarmPlain) getTileForestry(world, x, y, z);
Proxies.net.sendToPlayer(new PacketSocketUpdate(PacketIds.SOCKET_UPDATE, x, y, z, tile), player);
return new ContainerFarm(player.inventory, tile);
default:
return null;
}
}