mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-20 23:21:32 +01:00
Derp - animate ARM_SWING not HURT
This commit is contained in:
parent
85759d8ac7
commit
0742d777cc
@ -103,7 +103,7 @@ public class MCTargetStrategy implements PathStrategy, EntityTarget {
|
||||
} else if (handle instanceof EntityPlayer) {
|
||||
EntityPlayer humanHandle = (EntityPlayer) handle;
|
||||
humanHandle.attack(target);
|
||||
PlayerAnimation.HURT.play(humanHandle.getBukkitEntity());
|
||||
PlayerAnimation.ARM_SWING.play(humanHandle.getBukkitEntity());
|
||||
} else {
|
||||
NMS.attack(handle, target);
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ public class TriggerEditPrompt extends StringPrompt {
|
||||
final Conversation conversation = new ConversationFactory(CitizensAPI.getPlugin())
|
||||
.withLocalEcho(false).withEscapeSequence("exit").withEscapeSequence("/npc path")
|
||||
.withModality(false).withFirstPrompt(new TriggerEditPrompt(editor)).buildConversation(player);
|
||||
conversation.begin();
|
||||
player.beginConversation(conversation);
|
||||
return conversation;
|
||||
}
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ public enum PlayerAnimation {
|
||||
radius);
|
||||
}
|
||||
},
|
||||
SWING_ARM {
|
||||
ARM_SWING {
|
||||
@Override
|
||||
protected void playAnimation(EntityPlayer player, int radius) {
|
||||
Packet18ArmAnimation packet = new Packet18ArmAnimation(player, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user