Skip to content

Commit

Permalink
Fixes bug where rewarded items get decreased.
Browse files Browse the repository at this point in the history
  • Loading branch information
Viduality committed May 17, 2020
1 parent a14e612 commit fd388cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.Viduality</groupId>
<artifactId>VSkyblock</artifactId>
<version>1.6.2-SNAPSHOT</version>
<version>1.6.3-SNAPSHOT</version>
<name>VSkyblock</name>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private void clearItems(Inventory inv, List<ItemStack> items) {
*/
private void giveRewards(Inventory inv, List<ItemStack> items) {
for (ItemStack current : items) {
inv.addItem(current);
inv.addItem(current.clone());
}
}

Expand Down

0 comments on commit fd388cd

Please sign in to comment.