Skip to content

Commit f8b68c9

Browse files
committed
fix: add parentheses
1 parent 1a9a079 commit f8b68c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lc-hax/Scripts/Patches/TeleportWithItemsPatch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
[HarmonyPatch(typeof(PlayerControllerB), nameof(PlayerControllerB.DropAllHeldItems))]
77
sealed class TeleportWithItemsPatch {
8-
static bool Prefix(PlayerControllerB __instance) => __instance.shipTeleporterId is not -1 or 1;
8+
static bool Prefix(PlayerControllerB __instance) => __instance.shipTeleporterId is not (-1 or 1);
99
}

0 commit comments

Comments
 (0)