Skip to content

Commit edfa84d

Browse files
committed
moved resetEquipProgress into swing check in place manager
1 parent de28d7b commit edfa84d

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,10 @@ object PlaceManager : RequestHandler<PlaceRequest>(), PositionBlocking {
272272

273273
if (request.buildConfig.placeSettings.swing) {
274274
swingHand(request.buildConfig.placeSettings.swingType, hand)
275-
}
276275

277-
if (!stackInHand.isEmpty && (stackInHand.count != stackCountPre || interaction.hasCreativeInventory())) {
278-
mc.gameRenderer.firstPersonRenderer.resetEquipProgress(hand)
276+
if (!stackInHand.isEmpty && (stackInHand.count != stackCountPre || interaction.hasCreativeInventory())) {
277+
mc.gameRenderer.firstPersonRenderer.resetEquipProgress(hand)
278+
}
279279
}
280280

281281
if (placeConfig.placeConfirmationMode == PlaceConfig.PlaceConfirmationMode.AwaitThenPlace)

0 commit comments

Comments
 (0)