This commit is contained in:
asofold 2015-12-07 10:39:47 +01:00
parent 219f2222ef
commit 1c1529c5c8
1 changed files with 1 additions and 1 deletions

View File

@ -1304,7 +1304,7 @@ public class NoCheatPlus extends JavaPlugin implements NoCheatPlusAPI {
* Several seconds, repeating.
*/
protected void midTermCleanup() {
if (blockChangeListener.isEnabled()) {
if (blockChangeListener != null && blockChangeListener.isEnabled()) {
blockChangeTracker.checkExpiration(TickTask.getTick());
}
}