aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/monster/EntityEvoker.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/monster/EntityEvoker.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/monster/EntityEvoker.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/monster/EntityEvoker.patch b/patch-remap/og/net/minecraft/world/entity/monster/EntityEvoker.patch
new file mode 100644
index 0000000000..c3fa3d030d
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/monster/EntityEvoker.patch
@@ -0,0 +1,11 @@
+--- 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));
+ }
+ }