geforkt von Mirrors/Paper
#1480: Fix PerMaterialTest#isEdible test running for legacy materials
By: DerFrZocker <derrieple@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
52e03b47a2
Commit
98e7025512
@ -62,7 +62,7 @@ public class PerMaterialTest extends AbstractTestingBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ParameterizedTest
|
@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) {
|
public void isEdible(Material material) {
|
||||||
if (material.isBlock()) {
|
if (material.isBlock()) {
|
||||||
assertFalse(material.isEdible());
|
assertFalse(material.isEdible());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren