net.minecraft.world.level.storage.loot.predicates
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
--- a/net/minecraft/world/level/storage/loot/predicates/ExplosionCondition.java
|
||||
+++ b/net/minecraft/world/level/storage/loot/predicates/ExplosionCondition.java
|
||||
@@ -31,7 +31,8 @@
|
||||
RandomSource randomsource = loottableinfo.getRandom();
|
||||
float f = 1.0F / ofloat;
|
||||
|
||||
- return randomsource.nextFloat() <= f;
|
||||
+ // CraftBukkit - <= to < to allow for plugins to completely disable block drops from explosions
|
||||
+ return randomsource.nextFloat() < f;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user