From ab4e381ec52b08f4ee274396fdcbbda9025faafc Mon Sep 17 00:00:00 2001 From: zrdzn Date: Sun, 5 Nov 2023 00:44:05 +0100 Subject: [PATCH] Fix issue with not working drop --- .../io/github/zrdzn/minecraft/lovelydrop/drop/DropListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/io/github/zrdzn/minecraft/lovelydrop/drop/DropListener.java b/plugin/src/main/java/io/github/zrdzn/minecraft/lovelydrop/drop/DropListener.java index 0682b4d..82bdbb0 100644 --- a/plugin/src/main/java/io/github/zrdzn/minecraft/lovelydrop/drop/DropListener.java +++ b/plugin/src/main/java/io/github/zrdzn/minecraft/lovelydrop/drop/DropListener.java @@ -69,7 +69,7 @@ public void onSourceBreak(BlockBreakEvent event) { // Get all drops from the source. Set> drops = this.config.getDrops().entrySet().stream() .filter(drop -> !userSetting.hasDisabledDrop(drop.getKey())) - .filter(drop -> drop.getValue().getDisabledBioms().contains(block.getBiome())) + .filter(drop -> !drop.getValue().getDisabledBioms().contains(block.getBiome())) .filter(drop -> drop.getValue().getSource().getType() == block.getType()) .filter(drop -> drop.getValue().getSource().getDurability() == block.getData()) .collect(Collectors.toSet());