mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Merge pull request #8631 from magefree/revert-8592-utc-time-for-elvish-house-party
Revert "Make Elvish Time Party use UTC to keep time consistent between clients."
This commit is contained in:
commit
f8389f9518
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