From bbf7cd5de580a8f1c30f9c2183523339cc2470d6 Mon Sep 17 00:00:00 2001 From: Genre Mamanao <41022228+Faun471@users.noreply.github.com> Date: Thu, 12 Oct 2023 01:35:39 +0800 Subject: [PATCH] whoops --- .../iridium/iridiumskyblock/listeners/PlayerMoveListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/iridium/iridiumskyblock/listeners/PlayerMoveListener.java b/src/main/java/com/iridium/iridiumskyblock/listeners/PlayerMoveListener.java index fca91198b..0c15d425f 100644 --- a/src/main/java/com/iridium/iridiumskyblock/listeners/PlayerMoveListener.java +++ b/src/main/java/com/iridium/iridiumskyblock/listeners/PlayerMoveListener.java @@ -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));