aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/monster/EntityVex.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/monster/EntityVex.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/monster/EntityVex.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/monster/EntityVex.patch b/patch-remap/og/net/minecraft/world/entity/monster/EntityVex.patch
new file mode 100644
index 0000000000..d88bba7677
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/monster/EntityVex.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/world/entity/monster/EntityVex.java
++++ b/net/minecraft/world/entity/monster/EntityVex.java
+@@ -404,7 +404,7 @@
+
+ @Override
+ public void start() {
+- EntityVex.this.setTarget(EntityVex.this.owner.getTarget());
++ EntityVex.this.setTarget(EntityVex.this.owner.getTarget(), org.bukkit.event.entity.EntityTargetEvent.TargetReason.OWNER_ATTACKED_TARGET, true); // CraftBukkit
+ super.start();
+ }
+ }