File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/lol/hyper/timebar/timers Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 23
23
24
24
<groupId >lol.hyper</groupId >
25
25
<artifactId >timebar</artifactId >
26
- <version >1.4.8</version >
26
+ <version >1.4.8-hotfix </version >
27
27
<packaging >jar</packaging >
28
28
29
29
<name >TimeBar</name >
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ public void run() {
104
104
}
105
105
// get the current season & date of the world
106
106
Season currentSeason = this .seasonsAPI .getSeason (world );
107
+ String seasonName = currentSeason .getConfigName ().toUpperCase (Locale .ROOT );
107
108
Date currentDate = this .seasonsAPI .getDate (world );
108
109
// this should be null if RealisticSeasons hasn't bet setup yet
109
110
if (currentDate == null ) {
@@ -148,7 +149,7 @@ public void run() {
148
149
worldTimeTracker .setDayCount (dayCount );
149
150
worldTimeTracker .setDayPercent (timePercent );
150
151
151
- String colorConfig = worldTimeTracker .timeBar .realisticSeasonsConfig .getString ("colors." + currentSeason . toString (). toUpperCase ( Locale . ROOT ) );
152
+ String colorConfig = worldTimeTracker .timeBar .realisticSeasonsConfig .getString ("colors." + seasonName );
152
153
// load from config first
153
154
BossBar .Color color = worldTimeTracker .timeBar .bossBarColor ;
154
155
;
You can’t perform that action at this time.
0 commit comments