mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19: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
|
||||
@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());
|
||||
|
|
Loading…
Reference in a new issue