Skip to content

Commit

Permalink
Merge pull request #256 from PadowYT2/patch/slime-dupe
Browse files Browse the repository at this point in the history
Fix slime dupe
  • Loading branch information
oddlama committed Jul 7, 2024
2 parents 7327c9b + a8994f1 commit a82b861
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public void on_player_interact_entity(final PlayerInteractEntityEvent event) {
return;
}

if (entity.isDead()) {
return;
}

// With a empty bucket in main hand
final var player = event.getPlayer();
final var item_in_hand = player.getEquipment().getItem(event.getHand());
Expand Down

0 comments on commit a82b861

Please sign in to comment.