mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 10:44:39 +01:00
30e4583dbe
By: Initial Source <noreply+automated@papermc.io>
11 lines
494 B
Diff
11 lines
494 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(x, y, z, world.getRandom().nextFloat() * 360.0F, 0.0F);
|
|
- world.addFreshEntity(entityslime);
|
|
+ world.addFreshEntity(entityslime, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.POTION_EFFECT); // CraftBukkit
|
|
}
|
|
}
|
|
|