Skip to content

Commit 3d84218

Browse files
committed
Remove swing hand check
1 parent 836d6ce commit 3d84218

File tree

1 file changed

+1
-4
lines changed
  • common/src/main/kotlin/com/lambda/interaction/construction/context

1 file changed

+1
-4
lines changed

common/src/main/kotlin/com/lambda/interaction/construction/context/PlaceContext.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
package com.lambda.interaction.construction.context
1919

20-
import com.lambda.brigadier.argument.integer
2120
import com.lambda.config.groups.BuildConfig
2221
import com.lambda.context.SafeContext
2322
import com.lambda.graphics.renderer.esp.DirectionMask
@@ -59,10 +58,8 @@ data class PlaceContext(
5958
player, hand, result
6059
)
6160

62-
actionResult.
63-
6461
if (actionResult.isAccepted) {
65-
if (actionResult.shouldSwingHand() && swingHand) {
62+
if (swingHand) {
6663
player.swingHand(hand)
6764
}
6865

0 commit comments

Comments
 (0)