Skip to content

Commit

Permalink
- commenting out logging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
mfoltz committed Sep 20, 2024
1 parent 832067e commit 9399fa3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Patches/BuffSystemSpawnServerPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ static void OnUpdatePrefix(BuffSystem_Spawn_Server __instance)

PrefabGUID prefabGUID = entity.Read<PrefabGUID>();
string prefabName = prefabGUID.LookupName().ToLower();
Entity player = Entity.Null;

/* there might be some reason I'm forgetting I don't just process these over in deathEventListerSystem but let's try and find out, seems fine but still leaving for now
if (prefabGUID.Equals(feedExecute) && entity.GetBuffTarget().TryGetPlayer(out player)) // feed execute kills
Expand Down Expand Up @@ -116,7 +115,7 @@ static void OnUpdatePrefix(BuffSystem_Spawn_Server __instance)
}
}
}
else if (ConfigService.FamiliarSystem && prefabGUID.Equals(phasing) && entity.GetBuffTarget().TryGetPlayer(out player)) // teleport familiar to player after waygate
else if (ConfigService.FamiliarSystem && prefabGUID.Equals(phasing) && entity.GetBuffTarget().TryGetPlayer(out Entity player)) // teleport familiar to player after waygate
{
Entity familiar = FamiliarUtilities.FindPlayerFamiliar(player);
if (familiar.Exists())
Expand Down
6 changes: 6 additions & 0 deletions Patches/LinkMinionToOwnerOnSpawnSystemPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ static void OnUpdatePrefix(LinkMinionToOwnerOnSpawnSystem __instance)
{
if (entity.GetOwner().TryGetFollowedPlayer(out Entity player))
{
//Core.Log.LogInfo(entity.Read<PrefabGUID>().LookupName() + " " + entity.GetOwner().Read<PrefabGUID>().LookupName());

Entity familiar = FamiliarUtilities.FindPlayerFamiliar(player);
if (familiar.Exists())
{
Expand Down Expand Up @@ -68,6 +70,10 @@ static void OnUpdatePrefix(LinkMinionToOwnerOnSpawnSystem __instance)
}
}
}
else
{
//Core.Log.LogInfo(entity.Read<PrefabGUID>().LookupName() + " " + entity.GetOwner().Read<PrefabGUID>().LookupName());
}
}
}
finally
Expand Down

0 comments on commit 9399fa3

Please sign in to comment.