Skip to content

Commit

Permalink
fix party XP giving zero
Browse files Browse the repository at this point in the history
  • Loading branch information
Caltinor committed Dec 8, 2024
1 parent 6ecb157 commit 9eb846c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/harmonised/pmmo/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ private static void buildEventBasedXPSettings(ForgeConfigSpec.Builder builder) {
public static ForgeConfigSpec.IntValue PARTY_RANGE;
public static ConfigObject<Map<String, Double>> PARTY_BONUS;
public static double partyBonus(String skill) {
return PARTY_BONUS.get().getOrDefault(skill, 0d);
return PARTY_BONUS.get().getOrDefault(skill, 1d);
}

private static void buildPartySettings(ForgeConfigSpec.Builder builder) {
Expand Down

0 comments on commit 9eb846c

Please sign in to comment.