Removed null checks in OnEntityDeployed and OnPlayerConnected/Disconnected.