mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2024-11-24 20:26:15 +00:00
12 lines
497 B
Diff
12 lines
497 B
Diff
--- a/net/minecraft/world/effect/OozingMobEffect.java
|
|
+++ b/net/minecraft/world/effect/OozingMobEffect.java
|
|
@@ -52,7 +52,7 @@
|
|
if (entityslime != null) {
|
|
entityslime.setSize(2, true);
|
|
entityslime.moveTo(d0, d1, d2, world.getRandom().nextFloat() * 360.0F, 0.0F);
|
|
- world.addFreshEntity(entityslime);
|
|
+ world.addFreshEntity(entityslime, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.POTION_EFFECT); // CraftBukkit
|
|
}
|
|
}
|
|
|