fixed stealth again for real i swear
This commit is contained in:
1 parent
2ff2a199b4
commit
4e2e12d523
1 file changed
+1
-1
@@ -9296,7 +9296,7 @@ namespace CalamityMod.CalPlayer
|
||||
bool isPickaxe = it.pick > 0;
|
||||
bool isAxe = it.axe > 0;
|
||||
bool isHammer = it.hammer > 0;
|
||||
bool isPlaced = it.createTile != 0;
|
||||
bool isPlaced = it.createTile != -1;
|
||||
bool hasNonWeaponFunction = isPickaxe || isAxe || isHammer || isPlaced;
|
||||
bool playerUsingWeapon = hasDamage && hasHitboxes && !hasNonWeaponFunction;
|
||||
if (!stealthStrikeThisFrame && player.itemAnimation == player.itemAnimationMax - 1 && playerUsingWeapon)
|
||||
|
||||
Reference in new issue
Block a user