mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-19 05:44:44 +02:00
Refactoring code part 1 to prep for adding a bunch of unit tests
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
package com.gmail.nossr50.api;
|
||||
|
||||
import com.gmail.nossr50.config.Config;
|
||||
import com.gmail.nossr50.datatypes.interactions.NotificationType;
|
||||
import com.gmail.nossr50.datatypes.party.Party;
|
||||
import com.gmail.nossr50.datatypes.party.PartyLeader;
|
||||
@ -108,7 +107,7 @@ public final class PartyAPI {
|
||||
*/
|
||||
public static int getMaxPartySize()
|
||||
{
|
||||
return Config.getInstance().getPartyMaxSize();
|
||||
return mcMMO.p.getGeneralConfig().getPartyMaxSize();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user