mirror of
https://github.com/DCFApixels/DragonECS-AutoInjections.git
synced 2025-09-18 05:04:35 +08:00
fix
This commit is contained in:
parent
f23f9692a2
commit
0684b90584
@ -69,7 +69,7 @@ namespace DCFApixels.DragonECS
|
|||||||
#if DEBUG || ENABLE_DRAGONECS_ASSERT_CHEKS
|
#if DEBUG || ENABLE_DRAGONECS_ASSERT_CHEKS
|
||||||
if (!isAgressiveInjection && o.CanWrite == false) { Throw.PropertyIsCantWrite(o); }
|
if (!isAgressiveInjection && o.CanWrite == false) { Throw.PropertyIsCantWrite(o); }
|
||||||
#endif
|
#endif
|
||||||
return o.CanWrite == false;
|
return o.CanWrite;
|
||||||
})
|
})
|
||||||
.Select(o => new InjectedProperty(o)));
|
.Select(o => new InjectedProperty(o)));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user