mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
12 lines
463 B
Diff
12 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
|
||
|
}
|
||
|
}
|
||
|
|