mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
8398e12b34
By: md_5 <git@md-5.net>
11 lines
684 B
Diff
11 lines
684 B
Diff
--- a/net/minecraft/world/entity/monster/EntityEvoker.java
|
|
+++ b/net/minecraft/world/entity/monster/EntityEvoker.java
|
|
@@ -200,7 +200,7 @@
|
|
worldserver.getScoreboard().addPlayerToTeam(entityvex.getScoreboardName(), scoreboardteam);
|
|
}
|
|
|
|
- worldserver.addFreshEntityWithPassengers(entityvex);
|
|
+ worldserver.addFreshEntityWithPassengers(entityvex, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.SPELL); // CraftBukkit - Add SpawnReason
|
|
worldserver.gameEvent(GameEvent.ENTITY_PLACE, blockposition, GameEvent.a.of((Entity) EntityEvoker.this));
|
|
}
|
|
}
|