13
0
geforkt von Mirrors/Paper

#1480: Fix PerMaterialTest#isEdible test running for legacy materials

By: DerFrZocker <derrieple@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2024-09-20 07:23:06 +10:00
Ursprung 52e03b47a2
Commit 98e7025512

Datei anzeigen

@ -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());