aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0608-Add-isCollidable-methods-to-various-places.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/0608-Add-isCollidable-methods-to-various-places.patch
parent25e44bc63b467c19fe63ad6edfd8981d127f7f44 (diff)
downloadPaper-3fdd0948b7713541a80d1755719ee210311a3850.tar.gz
Paper-3fdd0948b7713541a80d1755719ee210311a3850.zip
Fix sealed package check in BytecodeModifyingURLClassLoader (#10627)
Diffstat (limited to 'patches/server/0608-Add-isCollidable-methods-to-various-places.patch')
-rw-r--r--patches/server/0608-Add-isCollidable-methods-to-various-places.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0608-Add-isCollidable-methods-to-various-places.patch b/patches/server/0608-Add-isCollidable-methods-to-various-places.patch
index fd446708ab..400b9e4171 100644
--- a/patches/server/0608-Add-isCollidable-methods-to-various-places.patch
+++ b/patches/server/0608-Add-isCollidable-methods-to-various-places.patch
@@ -39,10 +39,10 @@ index 1002123cd0c6f57cecc4e80f5f21cc6ff5886d37..e96023b71845526383288917e8d7c575
+ // Paper end
}
diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-index 5cb1da944f0040e7c5a21db201d41fda3c5bda83..d8d13aca9a002f92b3af2bc67b86f4f9dd092603 100644
+index 29661c484414e98c036045459dedf675aa661d85..03ac06c4bd89e6da2272c3ff109a1b2d3454efd2 100644
--- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
+++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java
-@@ -572,6 +572,12 @@ public final class CraftMagicNumbers implements UnsafeValues {
+@@ -571,6 +571,12 @@ public final class CraftMagicNumbers implements UnsafeValues {
var supplier = net.minecraft.world.entity.ai.attributes.DefaultAttributes.getSupplier((net.minecraft.world.entity.EntityType<? extends net.minecraft.world.entity.LivingEntity>) net.minecraft.core.registries.BuiltInRegistries.ENTITY_TYPE.get(CraftNamespacedKey.toMinecraft(bukkitEntityKey)));
return new io.papermc.paper.attribute.UnmodifiableAttributeMap(supplier);
}