aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2023-06-16 13:32:29 +0200
committerNassim Jahnke <[email protected]>2023-06-16 13:32:29 +0200
commit81834ac54a9fc17e690d6beb92ae5a447e373a8b (patch)
tree99031d03f05c63da9c85d28e62c56a7aa25ab353 /patches
parentfa674f3d354b378a612c3d0dd0b156eefbab714a (diff)
downloadPaper-81834ac54a9fc17e690d6beb92ae5a447e373a8b.tar.gz
Paper-81834ac54a9fc17e690d6beb92ae5a447e373a8b.zip
Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: be1f3344 SPIGOT-7326: Add ClickType#isMouseClick() CraftBukkit Changes: 3b557627c Fix Player#setScoreboard() checking incorrect state 9a21b0b89 SPIGOT-7393: Fix new tile entities not loading Bukkit's PersistentDataContainer Spigot Changes: c62f4bd9 Rebuild patches
Diffstat (limited to 'patches')
-rw-r--r--patches/server/0945-Fix-chiseled-bookshelf-and-jukebox-setItem-with-air.patch4
-rw-r--r--patches/server/0974-Call-BlockEntity-load-in-new-child-types.patch48
-rw-r--r--patches/server/0974-Don-t-enforce-icanhasbukkit-default-if-alias-block-e.patch (renamed from patches/server/0975-Don-t-enforce-icanhasbukkit-default-if-alias-block-e.patch)0
-rw-r--r--patches/server/0975-fix-MapLike-spam-for-missing-key-selector.patch (renamed from patches/server/0976-fix-MapLike-spam-for-missing-key-selector.patch)0
4 files changed, 2 insertions, 50 deletions
diff --git a/patches/server/0945-Fix-chiseled-bookshelf-and-jukebox-setItem-with-air.patch b/patches/server/0945-Fix-chiseled-bookshelf-and-jukebox-setItem-with-air.patch
index 8c7b5d3b37..9f3b11aee1 100644
--- a/patches/server/0945-Fix-chiseled-bookshelf-and-jukebox-setItem-with-air.patch
+++ b/patches/server/0945-Fix-chiseled-bookshelf-and-jukebox-setItem-with-air.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Fix chiseled bookshelf and jukebox setItem with air
diff --git a/src/main/java/net/minecraft/world/level/block/entity/ChiseledBookShelfBlockEntity.java b/src/main/java/net/minecraft/world/level/block/entity/ChiseledBookShelfBlockEntity.java
-index 1714102815e6c32bc161e88b1634f7a80908850a..47e194ef4e75f95573b40ff9f1a11810381cfce8 100644
+index 1f09eaa36b670212f6f02569de3312ad0382493e..4fb5328855fe0700fbc997b9801ef2e1c14c8c8f 100644
--- a/src/main/java/net/minecraft/world/level/block/entity/ChiseledBookShelfBlockEntity.java
+++ b/src/main/java/net/minecraft/world/level/block/entity/ChiseledBookShelfBlockEntity.java
-@@ -146,7 +146,7 @@ public class ChiseledBookShelfBlockEntity extends BlockEntity implements Contain
+@@ -147,7 +147,7 @@ public class ChiseledBookShelfBlockEntity extends BlockEntity implements Contain
@Override
public void setItem(int slot, ItemStack stack) {
diff --git a/patches/server/0974-Call-BlockEntity-load-in-new-child-types.patch b/patches/server/0974-Call-BlockEntity-load-in-new-child-types.patch
deleted file mode 100644
index 70f5e22323..0000000000
--- a/patches/server/0974-Call-BlockEntity-load-in-new-child-types.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Bjarne Koll <[email protected]>
-Date: Wed, 14 Jun 2023 12:52:29 +0200
-Subject: [PATCH] Call BlockEntity#load in new child types
-
-BlockEntity#load is responsible for loading the pdc data for block
-entities. Some of the new block entities added by mojang do not call
-their super method, preventing paper from loading the PDC, which
-leads to a loss of data.
-
-This patch adds the super calls to prevent this.
-
-diff --git a/src/main/java/net/minecraft/world/level/block/entity/BrushableBlockEntity.java b/src/main/java/net/minecraft/world/level/block/entity/BrushableBlockEntity.java
-index 14ddb953176b02e7ac68401c5c03120f920739a1..7a3ac883be4015d41a4c7582341a424b4bd6bbf4 100644
---- a/src/main/java/net/minecraft/world/level/block/entity/BrushableBlockEntity.java
-+++ b/src/main/java/net/minecraft/world/level/block/entity/BrushableBlockEntity.java
-@@ -239,6 +239,7 @@ public class BrushableBlockEntity extends BlockEntity {
-
- @Override
- public void load(CompoundTag nbt) {
-+ super.load(nbt); // Paper - invoke super to load additional, bukkit managed data
- if (!this.tryLoadLootTable(nbt) && nbt.contains("item")) {
- this.item = ItemStack.of(nbt.getCompound("item"));
- }
-diff --git a/src/main/java/net/minecraft/world/level/block/entity/ChiseledBookShelfBlockEntity.java b/src/main/java/net/minecraft/world/level/block/entity/ChiseledBookShelfBlockEntity.java
-index 47e194ef4e75f95573b40ff9f1a11810381cfce8..200b8b89403f61f7a3180d3d111c54453816a768 100644
---- a/src/main/java/net/minecraft/world/level/block/entity/ChiseledBookShelfBlockEntity.java
-+++ b/src/main/java/net/minecraft/world/level/block/entity/ChiseledBookShelfBlockEntity.java
-@@ -92,6 +92,7 @@ public class ChiseledBookShelfBlockEntity extends BlockEntity implements Contain
-
- @Override
- public void load(CompoundTag nbt) {
-+ super.load(nbt); // Paper - invoke super to load additional, bukkit managed data
- this.items.clear();
- ContainerHelper.loadAllItems(nbt, this.items);
- this.lastInteractedSlot = nbt.getInt("last_interacted_slot");
-diff --git a/src/main/java/net/minecraft/world/level/block/entity/SculkCatalystBlockEntity.java b/src/main/java/net/minecraft/world/level/block/entity/SculkCatalystBlockEntity.java
-index dfcc141dec0ff6e7704af8852a65783558398a67..a606aed406551f4d3cc0bf09d6e231d87fe00f53 100644
---- a/src/main/java/net/minecraft/world/level/block/entity/SculkCatalystBlockEntity.java
-+++ b/src/main/java/net/minecraft/world/level/block/entity/SculkCatalystBlockEntity.java
-@@ -42,6 +42,7 @@ public class SculkCatalystBlockEntity extends BlockEntity implements GameEventLi
-
- @Override
- public void load(CompoundTag nbt) {
-+ super.load(nbt); // Paper - invoke super to load additional, bukkit managed data
- this.catalystListener.sculkSpreader.load(nbt);
- }
-
diff --git a/patches/server/0975-Don-t-enforce-icanhasbukkit-default-if-alias-block-e.patch b/patches/server/0974-Don-t-enforce-icanhasbukkit-default-if-alias-block-e.patch
index 9df3133e61..9df3133e61 100644
--- a/patches/server/0975-Don-t-enforce-icanhasbukkit-default-if-alias-block-e.patch
+++ b/patches/server/0974-Don-t-enforce-icanhasbukkit-default-if-alias-block-e.patch
diff --git a/patches/server/0976-fix-MapLike-spam-for-missing-key-selector.patch b/patches/server/0975-fix-MapLike-spam-for-missing-key-selector.patch
index 0dcf015d42..0dcf015d42 100644
--- a/patches/server/0976-fix-MapLike-spam-for-missing-key-selector.patch
+++ b/patches/server/0975-fix-MapLike-spam-for-missing-key-selector.patch