mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 10:57:43 +01:00
Fix riding speed of all flying mobs to honor generic.flyingSpeed attribute
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 8c96e773812bf06f5ad194f1360c7f9b22baf1b2 Mon Sep 17 00:00:00 2001
|
||||
From 87ed6c2409996ba8b536d52939672bcfb819c025 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 850d5efff1..bbbb6e601b 100644
|
||||
index c3a5e24617..6d2984c8d5 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPhantom.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPhantom.java
|
||||
@@ -258,6 +258,7 @@ public class EntityPhantom extends EntityFlying implements IMonster {
|
||||
@@ -272,6 +272,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