mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Updated Upstream (Paper)
Upstream has released updates that appears to apply and compile correctly Paper Changes: 932e97f3 Rename to AsyncPlayerSendSuggestionsEvent to be consistent in naming 0dd19075 AsyncSendPlayerSuggestionsEvent Brigadier Event a9e20e5f Fix being kicked in survival for block picking - Fixes #3277 4d20537e Expose game version (#3274) 85fb0015 Validate PickItem Packet and kick for invalid - Fixes #3256 5729bc71 Special case Keep Alive packets from Anti Xray a76b7740 Improved oversized chunk data packet handling a6f78170 Use Vanilla Bed Search for non players (Villagers) 68fb98b5 Fix 2 plugin specific issues with loot drop and pathfinders 6e41f7b7 Update Activation Range 2.0 with more villager controls 57dd3971 Updated Upstream (Bukkit/CraftBukkit)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 1767f61d72f43905c9c69f8a39ba2fed1990a8aa Mon Sep 17 00:00:00 2001
|
||||
From 34f82044e292a66771ff5eccf4dadf2d3f8a3c97 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
|
||||
Date: Sat, 4 Apr 2020 02:36:45 -0500
|
||||
Subject: [PATCH] Add more timings timers
|
||||
@@ -164,10 +164,10 @@ index e9ef6d00c..29b60e287 100644
|
||||
// Purpur start
|
||||
if (EntityMoveEvent.getHandlerList().getRegisteredListeners().length > 0) {
|
||||
diff --git a/src/main/java/net/minecraft/server/PathfinderGoalSelector.java b/src/main/java/net/minecraft/server/PathfinderGoalSelector.java
|
||||
index 90319909e..ab51ef429 100644
|
||||
index 84d2abbcb..602b465f1 100644
|
||||
--- a/src/main/java/net/minecraft/server/PathfinderGoalSelector.java
|
||||
+++ b/src/main/java/net/minecraft/server/PathfinderGoalSelector.java
|
||||
@@ -77,6 +77,7 @@ public class PathfinderGoalSelector {
|
||||
@@ -78,6 +78,7 @@ public class PathfinderGoalSelector {
|
||||
private static final PathfinderGoal.Type[] PATHFINDER_GOAL_TYPES = PathfinderGoal.Type.values(); // Paper - remove streams from pathfindergoalselector
|
||||
|
||||
public void doTick() {
|
||||
@@ -175,7 +175,7 @@ index 90319909e..ab51ef429 100644
|
||||
this.e.enter("goalCleanup");
|
||||
// Paper start - remove streams from pathfindergoalselector
|
||||
for (Iterator<PathfinderGoalWrapped> iterator = this.d.iterator(); iterator.hasNext();) {
|
||||
@@ -96,8 +97,10 @@ public class PathfinderGoalSelector {
|
||||
@@ -97,8 +98,10 @@ public class PathfinderGoalSelector {
|
||||
}
|
||||
|
||||
});
|
||||
@@ -186,7 +186,7 @@ index 90319909e..ab51ef429 100644
|
||||
// Paper start - remove streams from pathfindergoalselector
|
||||
goal_update_loop: for (Iterator<PathfinderGoalWrapped> iterator = this.d.iterator(); iterator.hasNext();) {
|
||||
PathfinderGoalWrapped wrappedGoal = iterator.next();
|
||||
@@ -140,8 +143,10 @@ public class PathfinderGoalSelector {
|
||||
@@ -141,8 +144,10 @@ public class PathfinderGoalSelector {
|
||||
wrappedGoal.c();
|
||||
}
|
||||
// Paper end - remove streams from pathfindergoalselector
|
||||
@@ -197,7 +197,7 @@ index 90319909e..ab51ef429 100644
|
||||
// Paper start - remove streams from pathfindergoalselector
|
||||
for (Iterator<PathfinderGoalWrapped> iterator = this.d.iterator(); iterator.hasNext();) {
|
||||
PathfinderGoalWrapped wrappedGoal = iterator.next();
|
||||
@@ -150,6 +155,7 @@ public class PathfinderGoalSelector {
|
||||
@@ -151,6 +156,7 @@ public class PathfinderGoalSelector {
|
||||
}
|
||||
}
|
||||
// Paper end - remove streams from pathfindergoalselector
|
||||
|
||||
Reference in New Issue
Block a user