bugfix: guilds cannot be null only errant.

This commit is contained in:
MagicBot committed 2023-01-19 12:19:37 -05:00
1 parent c89b60221e
commit 9e7cbdc2d3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ public class HourlyJobThread implements Runnable {
// Open Errant Mines
if (mine.getOwningGuild() == null) {
if (mine.getOwningGuild().isErrant()) {
mine.handleStartMineWindow();
Mine.setLastChange(System.currentTimeMillis());
continue;