mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-27 23:33:14 +00:00
refactoring
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user