mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-09 09:57:33 +01:00
Fix start/stop_using_item
This commit is contained in:
parent
1ef3e6b56b
commit
5a554c5d42
@ -93,12 +93,12 @@ public class PlayerAnimationImpl {
|
||||
player.startFallFlying();
|
||||
break;
|
||||
case START_USE_MAINHAND_ITEM:
|
||||
player.swing(InteractionHand.MAIN_HAND);
|
||||
player.startUsingItem(InteractionHand.MAIN_HAND);
|
||||
sendPacketNearby(new ClientboundSetEntityDataPacket(player.getId(), player.getEntityData(), true),
|
||||
player, radius);
|
||||
break;
|
||||
case START_USE_OFFHAND_ITEM:
|
||||
player.swing(InteractionHand.OFF_HAND);
|
||||
player.startUsingItem(InteractionHand.OFF_HAND);
|
||||
sendPacketNearby(new ClientboundSetEntityDataPacket(player.getId(), player.getEntityData(), true),
|
||||
player, radius);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user