mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 02:47:43 +01:00
Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly Paper Changes: d6eda567 Provide a useful PluginClassLoader#toString a3fdafbd Restore Serialization Improvements again, wasn't an issue. 0e441c79 Revert "Improve Chat Component Legacy Serialization more" 53ef67b8 Improve Chat Component Legacy Serialization more afc1fcfc Fix serialization of colors from components eaa76a31 Add Villager Tasks to EAR inactive tick to keep behavior 357b52fd Improve Chunk Prioritization / Load Order a76bc402 Improve Chunk Status Transition Speed 7a2b345b Synchronize DataPaletteBlock instead of ReentrantLock
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From bc95738e40b609fe775192630e50327feb046e79 Mon Sep 17 00:00:00 2001
|
||||
From 14aebd18444a594133cc91ef49ff872e8134bcc4 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Thu, 3 Oct 2019 18:08:03 -0500
|
||||
Subject: [PATCH] Allow leashing villagers
|
||||
@@ -11,7 +11,7 @@ Subject: [PATCH] Allow leashing villagers
|
||||
4 files changed, 19 insertions(+)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityInsentient.java b/src/main/java/net/minecraft/server/EntityInsentient.java
|
||||
index bf9d044b0..3adc3434e 100644
|
||||
index bf9d044b0b..3adc3434e1 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
|
||||
@@ -1062,6 +1062,7 @@ public abstract class EntityInsentient extends EntityLiving {
|
||||
@@ -23,10 +23,10 @@ index bf9d044b0..3adc3434e 100644
|
||||
if (CraftEventFactory.callPlayerUnleashEntityEvent(this, entityhuman).isCancelled()) {
|
||||
((EntityPlayer) entityhuman).playerConnection.sendPacket(new PacketPlayOutAttachEntity(this, this.getLeashHolder()));
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityVillager.java b/src/main/java/net/minecraft/server/EntityVillager.java
|
||||
index d2680bb09..0abf72871 100644
|
||||
index a30ac7cc0b..e3322fedd7 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityVillager.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityVillager.java
|
||||
@@ -1016,4 +1016,11 @@ public class EntityVillager extends EntityVillagerAbstract implements Reputation
|
||||
@@ -1031,4 +1031,11 @@ public class EntityVillager extends EntityVillagerAbstract implements Reputation
|
||||
this.bL = restocksToday;
|
||||
}
|
||||
// Paper end
|
||||
@@ -39,7 +39,7 @@ index d2680bb09..0abf72871 100644
|
||||
+ // Purpur - end
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityVillagerTrader.java b/src/main/java/net/minecraft/server/EntityVillagerTrader.java
|
||||
index 14ca5fc36..427c58907 100644
|
||||
index 14ca5fc367..427c589075 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityVillagerTrader.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityVillagerTrader.java
|
||||
@@ -283,4 +283,11 @@ public class EntityVillagerTrader extends EntityVillagerAbstract {
|
||||
@@ -55,7 +55,7 @@ index 14ca5fc36..427c58907 100644
|
||||
+ // Purpur - end
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index caf7f0e84..284054db4 100644
|
||||
index caf7f0e84f..284054db42 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -780,6 +780,7 @@ public class PurpurWorldConfig {
|
||||
|
||||
Reference in New Issue
Block a user