aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0775-fix-Instruments.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0775-fix-Instruments.patch')
-rw-r--r--patches/server/0775-fix-Instruments.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/patches/server/0775-fix-Instruments.patch b/patches/server/0775-fix-Instruments.patch
index c2cffdb2b5..41359cbf13 100644
--- a/patches/server/0775-fix-Instruments.patch
+++ b/patches/server/0775-fix-Instruments.patch
@@ -23,10 +23,10 @@ index 922ec82d566fd5ac0b40ed95629e63be3d1bf264..111b90f97f631369acfb76278da26de9
diff --git a/src/test/java/io/papermc/paper/block/InstrumentSoundTest.java b/src/test/java/io/papermc/paper/block/InstrumentSoundTest.java
new file mode 100644
-index 0000000000000000000000000000000000000000..28fc01045675247e75438bdc039fb8a90493419f
+index 0000000000000000000000000000000000000000..cd718ed01ba5d448cdf0a2b6a39dc7ef2337f70d
--- /dev/null
+++ b/src/test/java/io/papermc/paper/block/InstrumentSoundTest.java
-@@ -0,0 +1,27 @@
+@@ -0,0 +1,28 @@
+package io.papermc.paper.block;
+
+import java.util.Arrays;
@@ -35,13 +35,14 @@ index 0000000000000000000000000000000000000000..28fc01045675247e75438bdc039fb8a9
+import org.bukkit.Instrument;
+import org.bukkit.craftbukkit.CraftSound;
+import org.bukkit.craftbukkit.block.data.CraftBlockData;
-+import org.bukkit.support.AbstractTestingBase;
++import org.bukkit.support.environment.AllFeatures;
+import org.junit.jupiter.params.ParameterizedTest;
+import org.junit.jupiter.params.provider.MethodSource;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
-+class InstrumentSoundTest extends AbstractTestingBase {
++@AllFeatures
++class InstrumentSoundTest {
+
+ static Stream<Instrument> bukkitInstruments() {
+ return Arrays.stream(Instrument.values()).filter(i -> i.getSound() != null);