Fix possible NPE error

Former-commit-id: e80d18b489fa982d16ddef89d3205fcef985e8e6 [formerly 7be34d6c9173151e6d86c4a1032907c593376f29]
Former-commit-id: 983cdaf75ab114814d7f60228f338561d9cf0ed2
This commit is contained in:
Ghost_chu committed 2019-08-13 16:24:28 +08:00
1 parent 044aaac665
commit 63c48dd53c
1 file changed
+1 -1
@@ -240,7 +240,7 @@ private int displayItemCheckTicks;
}
Util.debugLog("Cleaning up database queues...");
if (this.getShopManager() != null)
if (this.getDatabaseManager() != null)
this.getDatabaseManager().uninit();
Util.debugLog("Unregistering tasks...");