Melee Attack will now listen to the Swing Event

This commit is contained in:
Kam committed 2024-02-12 02:09:23 -05:00
1 parent 7bdb4aa806
commit a4d0d9a876
3 files changed
+2 -2

No files matched your search

@@ -9,7 +9,7 @@ import noppes.npcs.scripted.event.NpcEvent;
public class EventHandler {
@SubscribeEvent
public void onNpcMeleeAttack(NpcEvent.MeleeAttackEvent event){
public void onNpcMeleeAttack(NpcEvent.SwingEvent event){
NetworkHandler.sendToAll(new CPacketSyncAutoAnim((EntityNPCInterface) event.npc.getMCEntity(), EnumSyncAutoAnim.MELEE_ATTACK));
}