public static long MineProductionPerHour(byte MineType){ switch (MineType) { case 0: return new Double(0.0).longValue(); } return 0; }