mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
58a0878879
By: Doc <nachito94@msn.com>
11 lines
497 B
Diff
11 lines
497 B
Diff
--- a/net/minecraft/world/effect/OozingMobEffect.java
|
|
+++ b/net/minecraft/world/effect/OozingMobEffect.java
|
|
@@ -51,7 +51,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
|
|
}
|
|
}
|
|
|