mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 00:47:42 +01:00
Upstream has released updates that appears to apply and compile correctly Paper Changes: b75eeca0 Boost light task priority to ensure it doesnt hold up chunk loads 3d2bc848 Ensure VillagerTrades doesn't load async - fixes #3495 e470f1ef Add more information to Timing Reports f4a47db6 Improve Thread Pool usage to allow single threads for single cpu servers a4fe910f Fix sounds when using worldedit regen command 70ad51a8 Updated Upstream (Bukkit/CraftBukkit) d7cfa4fa Improve legacy format serialization more
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From 37187b6a7d4cee5c40f86fff824f0552d74229e5 Mon Sep 17 00:00:00 2001
|
|
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
|
|
Date: Sat, 4 Apr 2020 17:16:30 -0500
|
|
Subject: [PATCH] Debug stick should not update neighbors
|
|
|
|
---
|
|
src/main/java/net/minecraft/server/ItemStack.java | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java
|
|
index d5e0578b25..bc465a47d8 100644
|
|
--- a/src/main/java/net/minecraft/server/ItemStack.java
|
|
+++ b/src/main/java/net/minecraft/server/ItemStack.java
|
|
@@ -186,6 +186,11 @@ public final class ItemStack {
|
|
if (this.getItem() == Items.BONE_MEAL) {
|
|
world.captureTreeGeneration = true;
|
|
}
|
|
+ // Purpur start
|
|
+ else if (this.getItem() == Items.DEBUG_STICK) {
|
|
+ world.captureBlockStates = false;
|
|
+ }
|
|
+ // Purpur end
|
|
}
|
|
Item item = this.getItem();
|
|
EnumInteractionResult enuminteractionresult = item.a(itemactioncontext);
|
|
--
|
|
2.24.0
|
|
|