|
|
@ -295,10 +295,10 @@ public class Mine extends AbstractGameObject { |
|
|
|
|
|
|
|
|
|
|
|
LocalDateTime mineOpenTime;// = LocalDateTime.now().withMinute(0).withSecond(0).withNano(0);
|
|
|
|
LocalDateTime mineOpenTime;// = LocalDateTime.now().withMinute(0).withSecond(0).withNano(0);
|
|
|
|
if(mine.firstThirty == true){ |
|
|
|
if(mine.firstThirty == true){ |
|
|
|
mineOpenTime = LocalDateTime.now().withHour(mine.liveHour).withMinute(0).withSecond(0).withNano(0); |
|
|
|
mineOpenTime = LocalDateTime.now().withHour(mine.liveHour).withMinute(0).withSecond(0).withNano(0).plusHours(5); |
|
|
|
} |
|
|
|
} |
|
|
|
else{ |
|
|
|
else{ |
|
|
|
mineOpenTime = LocalDateTime.now().withHour(mine.liveHour).withMinute(30).withSecond(0).withNano(0); |
|
|
|
mineOpenTime = LocalDateTime.now().withHour(mine.liveHour).withMinute(30).withSecond(0).withNano(0).plusHours(5); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
LocalDateTime mineCloseTime = mineOpenTime.plusMinutes(30); |
|
|
|
LocalDateTime mineCloseTime = mineOpenTime.plusMinutes(30); |
|
|
|