removed some logs

This commit is contained in:
Mister_Nebula 2021-09-25 09:47:30 +01:00
parent e505f53ab4
commit 87c36598b7
4 changed files with 0 additions and 7 deletions

View File

@ -28,7 +28,6 @@ namespace QSB.ClientServerStateSync.Events
public override void OnReceiveRemote(bool server, EnumMessage<ClientState> message)
{
DebugLog.DebugWrite($"Remote receive id:{message.AboutId} state:{message.EnumValue}");
if (message.AboutId == uint.MaxValue)
{
DebugLog.DebugWrite($"Error - ID is uint.MaxValue!", OWML.Common.MessageType.Error);

View File

@ -23,7 +23,6 @@ namespace QSB.DeathSync.Events
public override void OnReceiveLocal(bool server, PlayerDeathMessage message)
{
DebugLog.DebugWrite($"RECEIVE LOCAL PLAYER DEATH");
var player = QSBPlayerManager.GetPlayer(message.AboutId);
RespawnManager.Instance.OnPlayerDeath(player);
ClientStateManager.Instance.OnDeath();
@ -31,7 +30,6 @@ namespace QSB.DeathSync.Events
public override void OnReceiveRemote(bool server, PlayerDeathMessage message)
{
DebugLog.DebugWrite($"RECEIVE REMOTE PLAYER DEATH");
var player = QSBPlayerManager.GetPlayer(message.AboutId);
var playerName = player.Name;
var deathMessage = Necronomicon.GetPhrase(message.EnumValue, message.NecronomiconIndex);

View File

@ -4,7 +4,6 @@ using QSB.Patches;
using QSB.Player;
using QSB.ShipSync;
using QSB.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
@ -188,7 +187,6 @@ namespace QSB.DeathSync.Patches
public static bool DeathManager_KillPlayer_Prefix(DeathType deathType)
{
DebugLog.DebugWrite($"KILL PLAYER PREFIX stacetrace : \r\n {Environment.StackTrace}");
if (RespawnOnDeath.Instance == null)
{
return true;
@ -207,7 +205,6 @@ namespace QSB.DeathSync.Patches
public static void DeathManager_KillPlayer_Postfix(DeathType deathType)
{
DebugLog.DebugWrite($"KILL PLAYER POSTFIX");
QSBEventManager.FireEvent(EventNames.QSBPlayerDeath, deathType);
}

View File

@ -79,7 +79,6 @@ namespace QSB.Player
public static void HandleFullStateMessage(PlayerInformationMessage message)
{
DebugLog.DebugWrite($"Handle full state message of {message.AboutId}");
var player = GetPlayer(message.AboutId);
player.Name = message.PlayerName;
player.PlayerStates = message.PlayerState;