You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elseDebug.Log($"ERROR: Invalid damage type in OverwriteDamageInteraction, cause entity is invalid: {damageSource.GetCauseEntity()} or source entity is invalid: {damageSource.SourceEntity}");
251
251
252
252
if(Configuration.enableExtendedLog)
253
-
Debug.Log($"{(damageSource.SourceEntityasEntityPlayer).Player.PlayerName} final damage: {damage}");
253
+
Debug.Log($"{(damageSource.SourceEntityasEntityPlayer)?.GetName()??"PlayerProjectile"} final damage: {damage}");
0 commit comments