mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Remove redundant helper methods
This commit is contained in:
@@ -209,7 +209,7 @@ namespace SabreTools.DatFiles.Formats
|
||||
if (datItemObj == null)
|
||||
return;
|
||||
|
||||
switch (datItemObj.Value<string>("type").AsItemType())
|
||||
switch (datItemObj.Value<string>("type").AsEnumValue<ItemType>())
|
||||
{
|
||||
case ItemType.Adjuster:
|
||||
datItem = datItemObj.ToObject<Adjuster>();
|
||||
|
||||
Reference in New Issue
Block a user