refactoring

This commit is contained in:
HellFirePvP committed 2015-12-12 13:17:53 +01:00
1 parent 57e38b02ad
commit 4730d251a1
1 file changed
+2 -2
@@ -433,7 +433,7 @@ public class AuraEffects {
EntityUtils.makeChampion(mob, false);
mob.removePotionEffect(RegisteredPotions.ELDRITCH.getId());
} else {
mob.addPotionEffect(new PotionEffect(RegisteredPotions.ELDRITCH.getId(), 6000, effect == null ? 1 : effect.getAmplifier() + 1));
mob.addPotionEffect(new PotionEffect(RegisteredPotions.ELDRITCH.getId(), ticksForMinutes(5), effect == null ? 1 : effect.getAmplifier() + 1));
}
}
}
@@ -467,7 +467,7 @@ public class AuraEffects {
}
}
} while (totalCount > 0);
mob.addPotionEffect(new PotionEffect(Potion.invisibility.getId(), MiscUtils.ticksForMinutes(60*24*365), 1, true));
mob.addPotionEffect(new PotionEffect(Potion.invisibility.getId(), ticksForDays(365), 1, true));
ChunkCoordinates pos = new ChunkCoordinates((int) mob.posX, (int) mob.posY, (int) mob.posZ);
pos = iterateDown(pos, world);