aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0061-Complete-resource-pack-API.patch
diff options
context:
space:
mode:
authorJosh Roy <[email protected]>2021-11-26 17:58:39 -0500
committerMiniDigger | Martin <[email protected]>2021-11-30 19:26:33 +0100
commitbc0dd0df3dfb03e10ce30951ad2ae177ff0ed5b3 (patch)
tree3ae058e5ff5af0b07cc26ccbfcc22411ce53eb2c /patches/server/0061-Complete-resource-pack-API.patch
parent134a61c11124940ce0c21a41963777dbe8272a19 (diff)
downloadPaper-bc0dd0df3dfb03e10ce30951ad2ae177ff0ed5b3.tar.gz
Paper-bc0dd0df3dfb03e10ce30951ad2ae177ff0ed5b3.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: 716b4fce Revert SnakeYAML upgrade ca6f8942 Update to Minecraft 1.18-rc3 57e7e952 #683: Add Player#showDemoScreen CraftBukkit Changes: c98abfb0 Update to Minecraft 1.18-rc3 9b258501 #960: Add Player#showDemoScreen d9542247 Produce remapped jars after bootstrap jar 99f3ddde SPIGOT-6808: Fix RegionAccessor#getBiome Spigot Changes: b7a4222e Update to Minecraft 1.18-rc3
Diffstat (limited to 'patches/server/0061-Complete-resource-pack-API.patch')
-rw-r--r--patches/server/0061-Complete-resource-pack-API.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0061-Complete-resource-pack-API.patch b/patches/server/0061-Complete-resource-pack-API.patch
index a9272509c6..45ceb4c3b5 100644
--- a/patches/server/0061-Complete-resource-pack-API.patch
+++ b/patches/server/0061-Complete-resource-pack-API.patch
@@ -23,10 +23,10 @@ index 38909ef14fcfd4b93d83512f4cacbe2c3fe431a1..76e34fb4bb6b3d194e155bec30d36887
@Override
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-index 3c7ae0966f2e8d0ab0924047653792ac7ac75f10..97a21ecae2b2b17c9041cd7e5148c68472929d6a 100644
+index fe6ce60db2afee9a078e45ebb76c15ddeca8b9b4..7fa9227d2336eb0987d3b5a19edf35345decbcf9 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
-@@ -132,6 +132,7 @@ import org.bukkit.metadata.MetadataValue;
+@@ -133,6 +133,7 @@ import org.bukkit.metadata.MetadataValue;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.messaging.StandardMessenger;
import org.bukkit.scoreboard.Scoreboard;
@@ -34,7 +34,7 @@ index 3c7ae0966f2e8d0ab0924047653792ac7ac75f10..97a21ecae2b2b17c9041cd7e5148c684
import net.md_5.bungee.api.chat.BaseComponent; // Spigot
-@@ -148,6 +149,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
+@@ -149,6 +150,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
private double health = 20;
private boolean scaledHealth = false;
private double healthScale = 20;
@@ -45,7 +45,7 @@ index 3c7ae0966f2e8d0ab0924047653792ac7ac75f10..97a21ecae2b2b17c9041cd7e5148c684
public CraftPlayer(CraftServer server, ServerPlayer entity) {
super(server, entity);
-@@ -1918,6 +1923,45 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
+@@ -1919,6 +1924,45 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
public boolean getAffectsSpawning() {
return this.getHandle().affectsSpawning;
}