private static void Process(MessageSyncAres syncEntity) { if (MyAPIGateway.Multiplayer.MultiplayerActive) ConnectionHelper.SendMessageToServer(syncEntity); else syncEntity.CommonProcess(syncEntity.SyncType, syncEntity.SteamId, syncEntity.OreMaterial); }
private static void Process(MessageSyncAres syncEntity) { if (MyAPIGateway.Multiplayer.MultiplayerActive && !MyAPIGateway.Multiplayer.IsServer) { ConnectionHelper.SendMessageToServer(syncEntity); } else { syncEntity.CommonProcess(syncEntity.SyncType, syncEntity.SteamId, syncEntity.OreMaterial, syncEntity.ViewMatrix); } }