Skip to content

Commit

Permalink
Replace Swing Through Grass interact method
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Oct 18, 2024
1 parent 3d14ddc commit 9adde32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static void utInteractThroughGrass(PlayerInteractEvent.RightClickBlock ev
Entity entity = getEntityBehindGrass(event.getWorld(), event.getPos(), event.getEntityPlayer());
if (entity != null)
{
entity.processInitialInteract(event.getEntityPlayer(), event.getHand());
event.getEntityPlayer().interactOn(entity, event.getHand());
event.setCanceled(true);
}
}
Expand Down

0 comments on commit 9adde32

Please sign in to comment.