diff options
Diffstat (limited to 'patches/server/0859-Properly-handle-BlockBreakEvent-isDropItems.patch')
-rw-r--r-- | patches/server/0859-Properly-handle-BlockBreakEvent-isDropItems.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/patches/server/0859-Properly-handle-BlockBreakEvent-isDropItems.patch b/patches/server/0859-Properly-handle-BlockBreakEvent-isDropItems.patch index 75a746ca81..4cd1896742 100644 --- a/patches/server/0859-Properly-handle-BlockBreakEvent-isDropItems.patch +++ b/patches/server/0859-Properly-handle-BlockBreakEvent-isDropItems.patch @@ -108,10 +108,10 @@ index bdcb732a31fff0cfc2119132079ce197c7a77c9a..a6f408e56fa6c9de82fd93555fe21e1b diff --git a/src/test/java/io/papermc/paper/world/block/BlockPlayerDestroyOverrideTest.java b/src/test/java/io/papermc/paper/world/block/BlockPlayerDestroyOverrideTest.java new file mode 100644 -index 0000000000000000000000000000000000000000..7c435f7079b429873f33d7bade82eca0c6b45842 +index 0000000000000000000000000000000000000000..22145bf698b3d1ff0a07a3aaa8d55a19905f99ad --- /dev/null +++ b/src/test/java/io/papermc/paper/world/block/BlockPlayerDestroyOverrideTest.java -@@ -0,0 +1,47 @@ +@@ -0,0 +1,48 @@ +package io.papermc.paper.world.block; + +import io.github.classgraph.ClassGraph; @@ -123,13 +123,14 @@ index 0000000000000000000000000000000000000000..7c435f7079b429873f33d7bade82eca0 +import java.util.ArrayList; +import java.util.List; +import java.util.stream.Stream; -+import org.bukkit.support.AbstractTestingBase; ++import org.bukkit.support.environment.Normal; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import static org.junit.jupiter.api.Assertions.assertEquals; + -+public class BlockPlayerDestroyOverrideTest extends AbstractTestingBase { ++@Normal ++public class BlockPlayerDestroyOverrideTest { + + public static Stream<ClassInfo> parameters() { + final List<ClassInfo> classInfo = new ArrayList<>(); |