diff options
author | Jake Potrebic <[email protected]> | 2024-04-25 23:10:38 -0700 |
---|---|---|
committer | Jake Potrebic <[email protected]> | 2024-04-25 23:10:38 -0700 |
commit | 43d110e9a9563364b18d2b9986e0dceedd0b5d7f (patch) | |
tree | bd94055e37bdb5219f9c8f7f21c7acb939d91a7c /patches/server/0757-Add-NamespacedKey-biome-methods.patch | |
parent | bcdf1f96b8d5ae0a513cf99f8cba7b9926afcb91 (diff) | |
download | Paper-43d110e9a9563364b18d2b9986e0dceedd0b5d7f.tar.gz Paper-43d110e9a9563364b18d2b9986e0dceedd0b5d7f.zip |
fix issue with item default attribute API
Diffstat (limited to 'patches/server/0757-Add-NamespacedKey-biome-methods.patch')
-rw-r--r-- | patches/server/0757-Add-NamespacedKey-biome-methods.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0757-Add-NamespacedKey-biome-methods.patch b/patches/server/0757-Add-NamespacedKey-biome-methods.patch index 42c85345c5..94253c34e4 100644 --- a/patches/server/0757-Add-NamespacedKey-biome-methods.patch +++ b/patches/server/0757-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 ab9cf64fdde15e80c4c6fb101ee4a328844aa112..14a73354698a1d0592eb0fc10c73fc2d25c02e4e 100644 +index 277ed7b7281821b25d508e0faf56433ef2ede59e..b44aa2f312d3cf51741c1a8e10dee366a724dc13 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -@@ -622,6 +622,19 @@ public final class CraftMagicNumbers implements UnsafeValues { +@@ -614,6 +614,19 @@ public final class CraftMagicNumbers implements UnsafeValues { Preconditions.checkArgument(material.isBlock(), material + " is not a block"); return getBlock(material).hasCollision; } |