From 98e70255126543da380a677e2e5f17d929d195e6 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 20 Sep 2024 07:23:06 +1000 Subject: [PATCH] #1480: Fix PerMaterialTest#isEdible test running for legacy materials By: DerFrZocker --- paper-server/src/test/java/org/bukkit/PerMaterialTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/test/java/org/bukkit/PerMaterialTest.java b/paper-server/src/test/java/org/bukkit/PerMaterialTest.java index 3dc6be2905..333c4e9b2a 100644 --- a/paper-server/src/test/java/org/bukkit/PerMaterialTest.java +++ b/paper-server/src/test/java/org/bukkit/PerMaterialTest.java @@ -62,7 +62,7 @@ public class PerMaterialTest extends AbstractTestingBase { } @ParameterizedTest - @EnumSource(value = Material.class, names = ".LEGACY_.*", mode = EnumSource.Mode.MATCH_NONE) + @EnumSource(value = Material.class, names = "LEGACY_.*", mode = EnumSource.Mode.MATCH_NONE) public void isEdible(Material material) { if (material.isBlock()) { assertFalse(material.isEdible());