diff --git a/src/main/java/org/terasology/seasons/Season.java b/src/main/java/org/terasology/seasons/Season.java index bafa169..5d912e4 100644 --- a/src/main/java/org/terasology/seasons/Season.java +++ b/src/main/java/org/terasology/seasons/Season.java @@ -29,11 +29,6 @@ public enum Season { FALL("fall", 6), WINTER("winter", 6); - /** - * Constant that needs to be added to the world time to get the season time. - */ - public static final double WORLD_TIME_OFFSET = -(WorldTime.DAY_LENGTH - WorldTimeImpl.DUSK_TIME) * WorldTimeImpl.MS_TO_DAYS; - /** * The amount of days of all seasons combined. */ diff --git a/src/main/java/org/terasology/seasons/SeasonSystem.java b/src/main/java/org/terasology/seasons/SeasonSystem.java index 992506e..1f40cb8 100644 --- a/src/main/java/org/terasology/seasons/SeasonSystem.java +++ b/src/main/java/org/terasology/seasons/SeasonSystem.java @@ -46,7 +46,7 @@ @Share(value = SeasonSystem.class) public class SeasonSystem extends BaseComponentSystem { private static final Logger logger = LoggerFactory.getLogger(SeasonSystem.class); - private static final float TIME_SHIFT = WorldTimeImpl.MIDDAY_TIME * WorldTimeImpl.MS_TO_DAYS; + private static final float TIME_SHIFT = WorldTime.MIDDAY_TIME * WorldTime.DAY_LENGTH; @In private EntityManager entityManager;