mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
8b26bb8f3e
By: md_5 <git@md-5.net>
11 lines
636 B
Diff
11 lines
636 B
Diff
--- a/net/minecraft/world/entity/monster/EntityEvoker.java
|
|
+++ b/net/minecraft/world/entity/monster/EntityEvoker.java
|
|
@@ -192,7 +192,7 @@
|
|
entityvex.setOwner(EntityEvoker.this);
|
|
entityvex.setBoundOrigin(blockposition);
|
|
entityvex.setLimitedLife(20 * (30 + EntityEvoker.this.random.nextInt(90)));
|
|
- worldserver.addFreshEntityWithPassengers(entityvex);
|
|
+ worldserver.addFreshEntityWithPassengers(entityvex, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.SPELL); // CraftBukkit - Add SpawnReason
|
|
}
|
|
}
|
|
|