mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 04:55:28 +02:00
Fix PartySaving related NPEs (only save parties if they're enabled) (#4973)
Co-authored-by: Dieu <info@l4b.org>
This commit is contained in:
@@ -20,7 +20,7 @@ public class SaveTimerTask extends CancellableRunnable {
|
||||
count++;
|
||||
}
|
||||
|
||||
|
||||
mcMMO.p.getPartyManager().saveParties();
|
||||
if(mcMMO.p.getPartyConfig().isPartyEnabled())
|
||||
mcMMO.p.getPartyManager().saveParties();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user