mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 05:32:18 -07:00
Add additional tests for CraftBlockData
This commit is contained in:
@@ -229,4 +229,11 @@ public class PerMaterialTest extends AbstractTestingBase {
|
||||
assertThat(material.getBlastResistance(), is(CraftMagicNumbers.getBlock(material).getDurability()));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBlockDataCreation() {
|
||||
if (material.isBlock()) {
|
||||
assertNotNull(material.createBlockData());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user