mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 10:57:43 +01:00
Fix #13 - Don't send flyingSpeed attributes if mob is not ridable
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 93c7052db9377ed3c1f0be96966b48eae3978f3e Mon Sep 17 00:00:00 2001
|
||||
From fdc38d9e66b905b052caff62d0810ad74989f4fa Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
|
||||
Date: Fri, 29 Nov 2019 20:33:41 -0600
|
||||
Subject: [PATCH] Phantoms only attack insomniacs
|
||||
@@ -10,10 +10,10 @@ Subject: [PATCH] Phantoms only attack insomniacs
|
||||
3 files changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPhantom.java b/src/main/java/net/minecraft/server/EntityPhantom.java
|
||||
index c3a5e24617..6d2984c8d5 100644
|
||||
index 5ccbc341d2..cb5eed8785 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPhantom.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPhantom.java
|
||||
@@ -272,6 +272,7 @@ public class EntityPhantom extends EntityFlying implements IMonster {
|
||||
@@ -276,6 +276,7 @@ public class EntityPhantom extends EntityFlying implements IMonster {
|
||||
EntityHuman entityhuman = (EntityHuman) iterator.next();
|
||||
|
||||
if (EntityPhantom.this.a((EntityLiving) entityhuman, PathfinderTargetCondition.a)) {
|
||||
|
||||
Reference in New Issue
Block a user