mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
11 lines
463 B
Diff
11 lines
463 B
Diff
--- a/net/minecraft/world/effect/OozingMobEffect.java
|
|
+++ b/net/minecraft/world/effect/OozingMobEffect.java
|
|
@@ -49,7 +_,7 @@
|
|
if (slime != null) {
|
|
slime.setSize(2, true);
|
|
slime.moveTo(x, y, z, level.getRandom().nextFloat() * 360.0F, 0.0F);
|
|
- level.addFreshEntity(slime);
|
|
+ level.addFreshEntity(slime, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.POTION_EFFECT); // CraftBukkit
|
|
}
|
|
}
|
|
|