Skip to content

Commit

Permalink
fix: avoid NPE when reading night skip config
Browse files Browse the repository at this point in the history
  • Loading branch information
Pupskuchen committed Apr 5, 2023
1 parent b96222a commit 771dbb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public class NightSkipper {

public NightSkipper(final TimeControl plugin, final World world) {
this.world = world;
this.skipPercentage = getSkipPercentage(plugin.getConfigManager());
this.logger = plugin.getTCLogger();
this.skipPercentage = getSkipPercentage(plugin.getConfigManager());
this.skipScheduler = createSkipScheduler(plugin, world);
}

Expand Down

0 comments on commit 771dbb6

Please sign in to comment.