aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0753-Add-NamespacedKey-biome-methods.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/0753-Add-NamespacedKey-biome-methods.patch
parent25e44bc63b467c19fe63ad6edfd8981d127f7f44 (diff)
downloadPaper-3fdd0948b7713541a80d1755719ee210311a3850.tar.gz
Paper-3fdd0948b7713541a80d1755719ee210311a3850.zip
Fix sealed package check in BytecodeModifyingURLClassLoader (#10627)
Diffstat (limited to 'patches/server/0753-Add-NamespacedKey-biome-methods.patch')
-rw-r--r--patches/server/0753-Add-NamespacedKey-biome-methods.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0753-Add-NamespacedKey-biome-methods.patch b/patches/server/0753-Add-NamespacedKey-biome-methods.patch
index 5367ba1df6..cd1f237abf 100644
--- a/patches/server/0753-Add-NamespacedKey-biome-methods.patch
+++ b/patches/server/0753-Add-NamespacedKey-biome-methods.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] Add NamespacedKey biome methods
Co-authored-by: Thonk <[email protected]>
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-index a14a316d63e34ac4ac7ee81a27a8fbdfcdb2b451..6ab39cc723f0874c28def182eaada05c11d36678 100644
+index 64327d5dd0e1ec3f5ad411ee692923a340d6174f..76802c72fa2da7e8e16a7d611ac860d6d9ec7cff 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-@@ -604,6 +604,19 @@ public final class CraftMagicNumbers implements UnsafeValues {
+@@ -603,6 +603,19 @@ public final class CraftMagicNumbers implements UnsafeValues {
Preconditions.checkArgument(material.isBlock(), material + " is not a block");
return getBlock(material).hasCollision;
}