From 0104069f46af6737fab6aa8b6fc0237f466a69b7 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Thu, 7 Apr 2022 10:59:25 -0700 Subject: [PATCH] item remote patches: SetHeldByPlayer for dream lanterns --- QSB/ItemSync/Patches/ItemRemotePatches.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/QSB/ItemSync/Patches/ItemRemotePatches.cs b/QSB/ItemSync/Patches/ItemRemotePatches.cs index 1bbb9ae0..ebcf4740 100644 --- a/QSB/ItemSync/Patches/ItemRemotePatches.cs +++ b/QSB/ItemSync/Patches/ItemRemotePatches.cs @@ -36,7 +36,7 @@ internal class ItemRemotePatches : QSBPatch { __instance._lanternController.enabled = true; __instance._lanternController.SetDetectorScaleCompensation(__instance._lanternController.transform.lossyScale); - // __instance._lanternController.SetHeldByPlayer(true); + __instance._lanternController.SetHeldByPlayer(true); // Locator.GetPlayerController().SetDreamLantern(__instance); } @@ -127,7 +127,7 @@ internal class ItemRemotePatches : QSBPatch if (__instance._lanternController != null) { __instance._lanternController.SetDetectorScaleCompensation(__instance._lanternController.transform.lossyScale); - // __instance._lanternController.SetHeldByPlayer(false); + __instance._lanternController.SetHeldByPlayer(false); __instance._lanternController.enabled = __instance._lanternController.IsLit(); // Locator.GetPlayerController().SetDreamLantern(null); } @@ -195,7 +195,7 @@ internal class ItemRemotePatches : QSBPatch { __instance._lanternController.SetDetectorScaleCompensation(__instance._lanternController.transform.lossyScale); __instance._lanternController.SetSocketed(true); - // __instance._lanternController.SetHeldByPlayer(false); + __instance._lanternController.SetHeldByPlayer(false); __instance._lanternController.enabled = __instance._lanternController.IsLit(); // Locator.GetPlayerController().SetDreamLantern(null); }