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 b5d57bb commit 2da4cefCopy full SHA for 2da4cef
common/src/main/kotlin/com/lambda/util/player/PlayerUtils.kt
@@ -51,7 +51,10 @@ fun SafeContext.spawnFakePlayer(
51
52
fun SafeContext.swingHand(swingType: BuildConfig.SwingType, hand: Hand) =
53
when (swingType) {
54
- BuildConfig.SwingType.Vanilla -> player.swingHand(hand)
+ BuildConfig.SwingType.Vanilla -> {
55
+ swingHandClient(hand)
56
+ connection.sendPacket(HandSwingC2SPacket(hand))
57
+ }
58
BuildConfig.SwingType.Server -> connection.sendPacket(HandSwingC2SPacket(hand))
59
BuildConfig.SwingType.Client -> swingHandClient(hand)
60
}
0 commit comments