timetracking: Null check panel

This commit is contained in:
Owain van Brakel
2019-07-24 06:22:03 +02:00
parent af45df8ac6
commit 39e204307b

View File

@@ -216,7 +216,10 @@ public class TimeTrackingPlugin extends Plugin
{
farmingTracker.loadCompletionTimes();
birdHouseTracker.loadFromConfig();
panel.update();
if (panel != null)
{
panel.update();
}
}
@Schedule(period = 10, unit = ChronoUnit.SECONDS)