aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0515-Expand-world-key-API.patch
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2024-04-30 01:21:16 -0700
committerGitHub <[email protected]>2024-04-30 01:21:16 -0700
commit3fdd0948b7713541a80d1755719ee210311a3850 (patch)
tree0564f29296fc37f40fae908688f65a35e6cb59ce /patches/server/0515-Expand-world-key-API.patch
parent25e44bc63b467c19fe63ad6edfd8981d127f7f44 (diff)
downloadPaper-3fdd0948b7713541a80d1755719ee210311a3850.tar.gz
Paper-3fdd0948b7713541a80d1755719ee210311a3850.zip
Fix sealed package check in BytecodeModifyingURLClassLoader (#10627)
Diffstat (limited to 'patches/server/0515-Expand-world-key-API.patch')
-rw-r--r--patches/server/0515-Expand-world-key-API.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0515-Expand-world-key-API.patch b/patches/server/0515-Expand-world-key-API.patch
index b904c428b7..10d9e10a3c 100644
--- a/patches/server/0515-Expand-world-key-API.patch
+++ b/patches/server/0515-Expand-world-key-API.patch
@@ -67,10 +67,10 @@ index 1460060f2ff42ebaa7b2418b375ce661c73bd17f..b9180b7552796331d09c3aef1e863a25
// Check if a World already exists with the UID.
if (this.getWorld(world.getUID()) != null) {
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-index 30bca0a9ead81055b1e7b8d9411c515e817e3a7b..a914618ddcca61f30316a97c73f88698d44bc301 100644
+index a5e9000034444fb36864020453acb0b183272922..a847717c0da236ee9743773eed3f2a3f1a8b10a6 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-@@ -537,6 +537,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
+@@ -536,6 +536,11 @@ public final class CraftMagicNumbers implements UnsafeValues {
public int nextEntityId() {
return net.minecraft.world.entity.Entity.nextEntityId();
}