@@ -17,7 +17,7 @@ public class PotionTest extends AbstractTestingBase {
|
||||
public void testEffectCompleteness() throws Throwable {
|
||||
Map<PotionType, String> effects = new EnumMap(PotionType.class);
|
||||
for (Object reg : IRegistry.POTION) {
|
||||
List<MobEffect> eff = ((PotionRegistry)reg).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);
|
||||
|
||||
Reference in New Issue
Block a user