Skip to content

Commit de28d7b

Browse files
committed
fixed air place oversight
1 parent 56ea1bd commit de28d7b

File tree

1 file changed

+2
-1
lines changed
  • common/src/main/kotlin/com/lambda/interaction/request/placing

1 file changed

+2
-1
lines changed

common/src/main/kotlin/com/lambda/interaction/request/placing/PlaceManager.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,9 @@ object PlaceManager : RequestHandler<PlaceRequest>(), PositionBlocking {
262262
}
263263

264264
if (request.buildConfig.placeSettings.airPlace == PlaceConfig.AirPlaceMode.Grim) {
265+
val placeHand = if (hand == Hand.MAIN_HAND) Hand.OFF_HAND else Hand.MAIN_HAND
265266
airPlaceOffhandSwap()
266-
sendPlacePacket(hand, hitResult)
267+
sendPlacePacket(placeHand, hitResult)
267268
airPlaceOffhandSwap()
268269
} else {
269270
sendPlacePacket(hand, hitResult)

0 commit comments

Comments
 (0)