mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
#1480: Fix PerMaterialTest#isEdible test running for legacy materials
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
parent
52e03b47a2
commit
98e7025512
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue