fix(core): Reverts change to Serial.IsValid (#596)

This commit is contained in:
Kamron Batman 2021-05-12 09:59:03 -07:00 committed by GitHub
parent 00ff4b9247
commit 25eb79278e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ namespace Server
public bool IsValid
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get => this != MinusOne;
get => Value > 0;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]