Skip to content

Commit

Permalink
FIX: Player was no longer visibly "playing" their instrument
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenBagTwo committed Oct 22, 2024
1 parent 5dbfec6 commit 2212116
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,8 @@ private static void playSound(World world, PlayerEntity player, SoundEvent sound
);
}

@Override
public int getMaxUseTime(ItemStack stack) {
return this.cooldown;
}
}

0 comments on commit 2212116

Please sign in to comment.