Skip to content

Commit

Permalink
Fix bow
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnoksio authored Aug 16, 2024
1 parent f8372db commit 0cd3631
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void h() {
if (this.f != null) {
ItemStack itemstack = this.inventory.getItemInHand();

if (itemstack == this.f && this.f.getItem() instanceof ItemFood) { // Rinny - don't trigger if no food in hand
if (itemstack == this.f && (this.f.getItem() instanceof ItemFood || this.f.getItem() instanceof ItemBow /* Missing Sword check */)) { // Rinny - don't trigger if no food or bow in hand
if (this.g <= 25 && this.g % 4 == 0) {
this.c(itemstack, 5);
}
Expand Down

0 comments on commit 0cd3631

Please sign in to comment.