mirror of
https://github.com/correl/mage.git
synced 2024-12-29 03:00:15 +00:00
Revert "Make Elvish Time Party use UTC to keep time consistent between clients."
This commit is contained in:
parent
c511de4f3b
commit
fcacffce9d
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import java.time.LocalTime;
|
||||
import java.time.ZoneId;
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
|
@ -51,7 +50,7 @@ class CurrentHourCount implements DynamicValue {
|
|||
|
||||
@Override
|
||||
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
||||
int hour = LocalTime.now(ZoneId.of("UTC")).getHour();
|
||||
int hour = LocalTime.now().getHour();
|
||||
// convert 24-hour value to 12-hour
|
||||
if (hour > 12) {
|
||||
hour -= 12;
|
||||
|
|
Loading…
Reference in a new issue