Bug fix
This commit is contained in:
parent
1bb82139ed
commit
b9bc502f40
|
@ -43,7 +43,7 @@ namespace StardewModdingAPI.Framework.ModLoading.Rewriters
|
||||||
|
|
||||||
// skip if not broken
|
// skip if not broken
|
||||||
FieldDefinition fieldDefinition = fieldRef.Resolve();
|
FieldDefinition fieldDefinition = fieldRef.Resolve();
|
||||||
if (fieldDefinition == null || fieldDefinition.IsPublic)
|
if (fieldDefinition == null || fieldDefinition.IsPublic || fieldDefinition.IsFamily)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// rewrite if possible
|
// rewrite if possible
|
||||||
|
|
Loading…
Reference in New Issue