mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 17:37:42 +01:00
Upstream has released updates that appears to apply and compile correctly Paper Changes: cc001a73b Climbing should not bypass cramming gamerule b9930b39d Add legacy plugin count to metrics 4729e6b90 Add more lightning API 5e220bcb5 [ci skip] add stale bot configuration 2a44498a5 Add PlayerItemCooldownEvent fd33bcee1 Add LivingEntity#clearActiveItem a99e0ca05 Fix Player spawnParticle x/y/z precision loss
23 lines
1019 B
Diff
23 lines
1019 B
Diff
From 0000000000000000000000000000000000000000 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
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java
|
|
index 3adb29f004..e7759f2481 100644
|
|
--- a/src/main/java/net/minecraft/server/ItemStack.java
|
|
+++ b/src/main/java/net/minecraft/server/ItemStack.java
|
|
@@ -229,6 +229,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);
|