We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a9a079 commit f8b68c9Copy full SHA for f8b68c9
lc-hax/Scripts/Patches/TeleportWithItemsPatch.cs
@@ -5,5 +5,5 @@
5
6
[HarmonyPatch(typeof(PlayerControllerB), nameof(PlayerControllerB.DropAllHeldItems))]
7
sealed class TeleportWithItemsPatch {
8
- static bool Prefix(PlayerControllerB __instance) => __instance.shipTeleporterId is not -1 or 1;
+ static bool Prefix(PlayerControllerB __instance) => __instance.shipTeleporterId is not (-1 or 1);
9
}
0 commit comments