aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0432-Add-Destroy-Speed-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0432-Add-Destroy-Speed-API.patch')
-rw-r--r--patches/server/0432-Add-Destroy-Speed-API.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/patches/server/0432-Add-Destroy-Speed-API.patch b/patches/server/0432-Add-Destroy-Speed-API.patch
index 43e752ecb5..22e992d6a9 100644
--- a/patches/server/0432-Add-Destroy-Speed-API.patch
+++ b/patches/server/0432-Add-Destroy-Speed-API.patch
@@ -76,10 +76,10 @@ index 9953b6b36cbcbfd1756bac478b568ca5700fc898..33869e725c3b3f2120fa36ca468019a7
}
diff --git a/src/test/java/io/papermc/paper/block/CraftBlockDataDestroySpeedTest.java b/src/test/java/io/papermc/paper/block/CraftBlockDataDestroySpeedTest.java
new file mode 100644
-index 0000000000000000000000000000000000000000..62aef9abab896491f7806490184fc6899ec36c57
+index 0000000000000000000000000000000000000000..32d38205a5a72c3c1838ed28cb83bcea5ad59b6b
--- /dev/null
+++ b/src/test/java/io/papermc/paper/block/CraftBlockDataDestroySpeedTest.java
-@@ -0,0 +1,137 @@
+@@ -0,0 +1,138 @@
+package io.papermc.paper.block;
+
+import java.util.List;
@@ -106,7 +106,7 @@ index 0000000000000000000000000000000000000000..62aef9abab896491f7806490184fc689
+import org.bukkit.craftbukkit.block.data.CraftBlockData;
+import org.bukkit.craftbukkit.inventory.CraftItemStack;
+import org.bukkit.inventory.ItemStack;
-+import org.bukkit.support.AbstractTestingBase;
++import org.bukkit.support.environment.AllFeatures;
+import org.bukkit.util.Vector;
+import org.jetbrains.annotations.NotNull;
+import org.junit.jupiter.api.Assertions;
@@ -122,7 +122,8 @@ index 0000000000000000000000000000000000000000..62aef9abab896491f7806490184fc689
+ * This test is responsible for ensuring that said logic emits the expected destroy speed under heavy attribute
+ * modifier use.
+ */
-+public class CraftBlockDataDestroySpeedTest extends AbstractTestingBase {
++@AllFeatures
++public class CraftBlockDataDestroySpeedTest {
+
+ @Test
+ public void testCorrectEnchantmentDestroySpeedComputation() {