mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
Update to Minecraft 1.10
This commit is contained in:
@@ -18,8 +18,8 @@ public class BiomeTest extends AbstractTestingBase {
|
||||
|
||||
@Test
|
||||
public void testMinecraftToBukkit() {
|
||||
for (BiomeBase biome : BiomeBase.REGISTRY_ID) {
|
||||
Assert.assertNotNull("No Bukkit mapping for " + biome, CraftBlock.biomeBaseToBiome(biome));
|
||||
for (Object biome : BiomeBase.REGISTRY_ID) {
|
||||
Assert.assertNotNull("No Bukkit mapping for " + biome, CraftBlock.biomeBaseToBiome((BiomeBase) biome));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -17,8 +17,8 @@ public class PotionTest extends AbstractTestingBase {
|
||||
@Test
|
||||
public void testEffectCompleteness() throws Throwable {
|
||||
Map<PotionType, String> effects = new EnumMap(PotionType.class);
|
||||
for (PotionRegistry reg : PotionRegistry.a) {
|
||||
List<MobEffect> eff = reg.a();
|
||||
for (Object reg : PotionRegistry.a) {
|
||||
List<MobEffect> eff = ((PotionRegistry)reg).a();
|
||||
if (eff.size() != 1) continue;
|
||||
int id = MobEffectList.getId(eff.get(0).getMobEffect());
|
||||
PotionEffectType type = PotionEffectType.getById(id);
|
||||
|
@@ -68,7 +68,6 @@ public abstract class AbstractTestingBase {
|
||||
Material.PURPUR_DOUBLE_SLAB,
|
||||
Material.BEETROOT_BLOCK,
|
||||
Material.END_GATEWAY,
|
||||
Material.STRUCTURE_BLOCK,
|
||||
Material.BURNING_FURNACE,
|
||||
Material.FROSTED_ICE
|
||||
).build();
|
||||
|
Reference in New Issue
Block a user