Temporarily hold party settings in DSM (will be removed later)

This commit is contained in:
nossr50
2019-05-13 02:05:44 -07:00
parent 86b98368bc
commit 6425cd18b8
4 changed files with 24 additions and 29 deletions

View File

@@ -42,10 +42,10 @@ public final class PartyManager {
* @return the unlock level for the feature
*/
public static int getPartyFeatureUnlockLevel(PartyFeature partyFeature) {
if (mcMMO.getConfigManager().getPartyFeatureUnlocks().get(partyFeature) == null)
if (mcMMO.getDynamicSettingsManager().getPartyFeatureUnlocks().get(partyFeature) == null)
return 0;
else
return mcMMO.getConfigManager().getPartyFeatureUnlocks().get(partyFeature);
return mcMMO.getDynamicSettingsManager().getPartyFeatureUnlocks().get(partyFeature);
}
/**