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 0737d13 commit fa01dddCopy full SHA for fa01ddd
src/protocol/Edelstein.Protocol.Gameplay/Constants/ItemConstants.cs
@@ -17,11 +17,7 @@ public static bool IsItemOptionUpgradeItem(this int itemID)
17
=> itemID / 100 == 20494;
18
19
public static bool IsRechargeableItem(this int itemID)
20
- => (itemID / 10000) switch
21
- {
22
- 207 or 233 => true,
23
- _ => false
24
- };
+ => itemID / 10000 is 207 or 233;
25
26
public static bool IsReleaseItem(this int itemID)
27
=> itemID / 10000 == 246;
0 commit comments