We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c62324 commit 651c372Copy full SHA for 651c372
src/main/java/me/voper/slimeframe/implementation/items/tools/NosamPick.java
@@ -49,7 +49,7 @@ public ToolUseHandler getItemHandler() {
49
int probability = getProbability(specialOre);
50
int random = ThreadLocalRandom.current().nextInt(100) + 1;
51
52
- if (random > probability) {
+ if (random <= probability) {
53
b.getWorld().dropItemNaturally(b.getLocation(), specialOre.getItem().clone());
54
}
55
});
0 commit comments