fix: Moves mods and fixes migrations for lights (#1080)

- [X] Removes duplicate property for owner.
- [X] Codegens them all (even though they aren't used, just in case someone wants to).
This commit is contained in:
Kamron Batman 2022-06-18 21:28:51 -07:00 committed by GitHub
parent dc7033d71f
commit 7adf52ef48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 557 additions and 219 deletions

View file

@ -24,7 +24,10 @@ namespace Server
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void MarkDirty(this ISerializable entity)
{
entity.SavePosition = -1;
if (entity != null)
{
entity.SavePosition = -1;
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]