mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 20:52:12 -07:00
Add CraftMetaTileEntity, fixes the previously broken tests
This commit is contained in:
@@ -207,11 +207,11 @@ public class ItemMetaTest extends AbstractTestingBase {
|
||||
}
|
||||
);
|
||||
|
||||
assertThat("Forgotten test?", providers, hasSize(ItemStackTest.COMPOUND_MATERIALS.length - 2 /* Normal item meta and skulls */));
|
||||
assertThat("Forgotten test?", providers, hasSize(ItemStackTest.COMPOUND_MATERIALS.length - 3/* Normal item meta, skulls and tile entities */));
|
||||
|
||||
for (final StackProvider provider : providers) {
|
||||
// downCastTest(new BukkitWrapper(provider));
|
||||
// downCastTest(new CraftWrapper(provider));
|
||||
downCastTest(new BukkitWrapper(provider));
|
||||
downCastTest(new CraftWrapper(provider));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user