Fix fox drops on death (#8862)
This commit is contained in:
parent
cbe62d91fb
commit
97c01206bc
3 changed files with 53 additions and 19 deletions
|
@ -16,10 +16,10 @@ sideeffects, meaning the disable event cannot share a handlerlist with
|
|||
the cooldown event
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/Mob.java b/src/main/java/net/minecraft/world/entity/Mob.java
|
||||
index 433d8eccdd225651af8c88babfdb94d19ce546d8..026654c4d3a910f0dbfed5475f23137086618242 100644
|
||||
index a1ccd300791ccb3f1ef47b771e4fe33542039fea..7c5d7856a7982f0b3cad21f2cb8dde8569d2ec28 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/Mob.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/Mob.java
|
||||
@@ -1690,7 +1690,11 @@ public abstract class Mob extends LivingEntity implements Targeting {
|
||||
@@ -1697,7 +1697,11 @@ public abstract class Mob extends LivingEntity implements Targeting {
|
||||
float f = 0.25F + (float) EnchantmentHelper.getBlockEfficiency(this) * 0.05F;
|
||||
|
||||
if (this.random.nextFloat() < f) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue