geforkt von Mirrors/Paper
9da047989c
By: md_5 <git@md-5.net>
12 Zeilen
426 B
Diff
12 Zeilen
426 B
Diff
--- a/net/minecraft/world/item/ItemMilkBucket.java
|
|
+++ b/net/minecraft/world/item/ItemMilkBucket.java
|
|
@@ -29,7 +29,7 @@
|
|
}
|
|
|
|
if (!world.isClientSide) {
|
|
- entityliving.removeAllEffects();
|
|
+ entityliving.removeAllEffects(org.bukkit.event.entity.EntityPotionEffectEvent.Cause.MILK); // CraftBukkit
|
|
}
|
|
|
|
return itemstack.isEmpty() ? new ItemStack(Items.BUCKET) : itemstack;
|