Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
misternebula committed Jan 30, 2024
1 parent 25dbf50 commit 7f1dfb5
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,15 @@ public override async UniTask Init(CancellationToken ct)
// Ghosts don't have the item and instead the effects are controlled by GhostEffects
if (!IsGhostLantern)
{
DebugLog.DebugWrite($"Not GhostLantern, getting DreamLanternItem");
DreamLanternItem = AttachedObject.GetComponent<DreamLanternItem>();

if (DreamLanternItem == null) // ghost lanterns don't have DreamLanternItems attached
{
return;
}

DebugLog.DebugWrite($"_lanternType is {DreamLanternItem._lanternType}");
if (DreamLanternItem._lanternType == DreamLanternType.Malfunctioning)
{
DebugLog.DebugWrite($"returning...");
return;
}

Expand Down

0 comments on commit 7f1dfb5

Please sign in to comment.