2021-03-15 23:00:00 +01:00
|
|
|
--- a/net/minecraft/world/item/ItemMilkBucket.java
|
|
|
|
+++ b/net/minecraft/world/item/ItemMilkBucket.java
|
2024-06-13 17:05:00 +02:00
|
|
|
@@ -25,7 +25,7 @@
|
|
|
|
}
|
2018-07-20 08:04:37 +02:00
|
|
|
|
|
|
|
if (!world.isClientSide) {
|
|
|
|
- entityliving.removeAllEffects();
|
|
|
|
+ entityliving.removeAllEffects(org.bukkit.event.entity.EntityPotionEffectEvent.Cause.MILK); // CraftBukkit
|
|
|
|
}
|
|
|
|
|
2024-06-13 17:05:00 +02:00
|
|
|
if (entityliving instanceof EntityHuman entityhuman) {
|