mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
Fix #325 - Fix SPIGOT-6278
This commit is contained in:
19
patches/server/0207-Fix-SPIGOT-6278.patch
Normal file
19
patches/server/0207-Fix-SPIGOT-6278.patch
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: BillyGalbreath <blake.galbreath@gmail.com>
|
||||||
|
Date: Mon, 10 May 2021 02:08:53 -0500
|
||||||
|
Subject: [PATCH] Fix SPIGOT-6278
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/src/main/java/net/minecraft/world/entity/monster/piglin/EntityPiglin.java b/src/main/java/net/minecraft/world/entity/monster/piglin/EntityPiglin.java
|
||||||
|
index 99fc16aae085da564c5236e68925a8a2225f5c27..c6f51a483c919d032edb5b8b16a95c0750cef71b 100644
|
||||||
|
--- a/src/main/java/net/minecraft/world/entity/monster/piglin/EntityPiglin.java
|
||||||
|
+++ b/src/main/java/net/minecraft/world/entity/monster/piglin/EntityPiglin.java
|
||||||
|
@@ -172,7 +172,7 @@ public class EntityPiglin extends EntityPiglinAbstract implements ICrossbow {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isTypeNotPersistent(double d0) {
|
||||||
|
- return !this.isPersistent();
|
||||||
|
+ return true || !this.isPersistent(); // Purpur - fix SPIGOT-6278
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
Reference in New Issue
Block a user