From 4ab688b302fe5270621197384c2f580e1f91990d Mon Sep 17 00:00:00 2001 From: nossr50 Date: Wed, 8 May 2019 12:14:09 -0700 Subject: [PATCH] Add custom serializer registration for CustomXPPerk --- src/main/java/com/gmail/nossr50/config/ConfigManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/config/ConfigManager.java b/src/main/java/com/gmail/nossr50/config/ConfigManager.java index f63d7c965..c99bd71ad 100644 --- a/src/main/java/com/gmail/nossr50/config/ConfigManager.java +++ b/src/main/java/com/gmail/nossr50/config/ConfigManager.java @@ -44,6 +44,7 @@ import com.gmail.nossr50.config.skills.alchemy.PotionConfig; import com.gmail.nossr50.config.treasure.ExcavationTreasureConfig; import com.gmail.nossr50.config.treasure.FishingTreasureConfig; import com.gmail.nossr50.config.treasure.HerbalismTreasureConfig; +import com.gmail.nossr50.datatypes.experience.CustomXPPerk; import com.gmail.nossr50.datatypes.experience.FormulaType; import com.gmail.nossr50.datatypes.party.PartyFeature; import com.gmail.nossr50.datatypes.skills.PrimarySkillType; @@ -318,6 +319,7 @@ public final class ConfigManager { customSerializers.registerType(TypeToken.of(Repairable.class), new RepairableSerializer()); customSerializers.registerType(TypeToken.of(Salvageable.class), new SalvageableSerializer()); customSerializers.registerType(TypeToken.of(MinecraftMaterialWrapper.class), new MinecraftMaterialWrapperSerializer()); + customSerializers.registerType(TypeToken.of(CustomXPPerk.class), new CustomXPPerkSerializer()); } /**