mirror of
https://github.com/4sval/FModel.git
synced 2026-08-25 02:44:29 -05:00
fixed logic and null exception
This commit is contained in:
@@ -141,7 +141,7 @@ namespace FModel
|
||||
}
|
||||
try
|
||||
{
|
||||
if (theItem.WeaponStatHandle.RowName != "Harvest_Pickaxe_Athena_C_T01" || theItem.WeaponStatHandle.RowName != "Edged_Sword_Athena_C_T01")
|
||||
if (theItem.WeaponStatHandle != null && theItem.WeaponStatHandle.RowName != "Harvest_Pickaxe_Athena_C_T01" && theItem.WeaponStatHandle.RowName != "Edged_Sword_Athena_C_T01")
|
||||
{
|
||||
WeaponRowName = theItem.WeaponStatHandle.RowName;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user