Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Fix plural arrows in actionbar message (only if amount >= 3).
Browse files Browse the repository at this point in the history
  • Loading branch information
Simetraa committed Nov 18, 2020
1 parent b48d207 commit 94281a5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ private void giveItemsPeriodically() {
if (search.getType() == Material.ARROW) {
if (search.getAmount() < 3) {
search.setAmount(3);
} else {
player.sendActionBar(ChatColor.AQUA + "Arrows already obtained!");
}
break;
}
Expand Down

0 comments on commit 94281a5

Please sign in to comment.