aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/monster/Vex.java.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/monster/Vex.java.patch')
-rw-r--r--patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/monster/Vex.java.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/monster/Vex.java.patch b/patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/monster/Vex.java.patch
new file mode 100644
index 0000000000..a7c7978c7a
--- /dev/null
+++ b/patch-remap/mache-vineflower-stripped/net/minecraft/world/entity/monster/Vex.java.patch
@@ -0,0 +1,14 @@
+--- a/net/minecraft/world/entity/monster/Vex.java
++++ b/net/minecraft/world/entity/monster/Vex.java
+@@ -362,8 +403,9 @@
+ }
+
+ @Override
+- public boolean canContinueToUse() {
+- return false;
++ public void start() {
++ Vex.this.setTarget(Vex.this.owner.getTarget(), org.bukkit.event.entity.EntityTargetEvent.TargetReason.OWNER_ATTACKED_TARGET, true); // CraftBukkit
++ super.start();
+ }
+
+ @Override