Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
Faun471 committed Oct 11, 2023
1 parent abd92ec commit bbf7cd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void onPlayerMove(PlayerMoveEvent event) {
continue;
}

lostItemsMap.compute(originalItem, (key, value) -> value == null ? 1 : value + 1)));
lostItemsMap.compute(originalItem, (key, value) -> value == null ? 1 : value + 1);
}

item.setAmount(item.getAmount() - lostItemsMap.getOrDefault(originalItem, 0));
Expand Down

0 comments on commit bbf7cd5

Please sign in to comment.