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
@@ -288,7 +288,7 @@ try{
// Adjust the serialized mine time based upon whether
// the Guild's mine window has passed or not.
if (mineOwnerGuild != null) {
if (mineOwnerGuild.isErrant() == false) {
int guildWOO = mineOwnerGuild.getMineTime();
LocalDateTime guildMineTime = mineTime.withHour(guildWOO);