From e82510d55324622c609ee67d6edb9d9ebf6bb452 Mon Sep 17 00:00:00 2001 From: Nicholas Ignoffo Date: Sun, 22 Jul 2018 06:56:10 -0700 Subject: [PATCH] Fix will type serializer using lowercased names for lookups (#1369) --- src/main/java/WayofTime/bloodmagic/gson/Serializers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/gson/Serializers.java b/src/main/java/WayofTime/bloodmagic/gson/Serializers.java index 3a77e208..a2171911 100644 --- a/src/main/java/WayofTime/bloodmagic/gson/Serializers.java +++ b/src/main/java/WayofTime/bloodmagic/gson/Serializers.java @@ -33,7 +33,7 @@ public class Serializers { @Override public EnumDemonWillType copyValue(EnumDemonWillType value) { - return EnumDemonWillType.valueOf(value.getName()); + return EnumDemonWillType.valueOf(value.name()); } };