Fix will type serializer using lowercased names for lookups (#1369)

This commit is contained in:
Nicholas Ignoffo 2018-07-22 06:56:10 -07:00
parent 5ac52fa8c9
commit e82510d553

View file

@ -33,7 +33,7 @@ public class Serializers {
@Override
public EnumDemonWillType copyValue(EnumDemonWillType value) {
return EnumDemonWillType.valueOf(value.getName());
return EnumDemonWillType.valueOf(value.name());
}
};