♻️ added checks in client sdk

This commit is contained in:
2023-05-07 12:46:39 +03:00
parent aa607a7eb9
commit fdb41649b2
6 changed files with 31 additions and 11 deletions
@@ -49,7 +49,7 @@ internal class EntityEventHandler : Handler
return;
}
if (player.IsMe && executionMode == RagonReplicationMode.LocalAndServer)
if (player.IsLocal && executionMode == RagonReplicationMode.LocalAndServer)
return;
_entityCache.OnEvent(player, entityId, eventCode, buffer);