Fix will type serializer using lowercased names for lookups (#1369)
This commit is contained in:
parent
5ac52fa8c9
commit
e82510d553
|
@ -33,7 +33,7 @@ public class Serializers {
|
|||
|
||||
@Override
|
||||
public EnumDemonWillType copyValue(EnumDemonWillType value) {
|
||||
return EnumDemonWillType.valueOf(value.getName());
|
||||
return EnumDemonWillType.valueOf(value.name());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue