Update Forge + mappings
This commit is contained in:
parent
b408234ab0
commit
d550513f0a
98 changed files with 313 additions and 296 deletions
|
@ -27,12 +27,12 @@ public class LivingArmourUpgradePoisonResist extends LivingArmourUpgrade
|
|||
@Override
|
||||
public void onTick(World world, EntityPlayer player, ILivingArmour livingArmour)
|
||||
{
|
||||
if (player.isPotionActive(MobEffects.poison) && poisonCooldown <= 0)
|
||||
if (player.isPotionActive(MobEffects.POISON) && poisonCooldown <= 0)
|
||||
{
|
||||
PotionEffect eff = player.getActivePotionEffect(MobEffects.poison);
|
||||
PotionEffect eff = player.getActivePotionEffect(MobEffects.POISON);
|
||||
if (eff.getAmplifier() <= poisonMaxCure[this.level])
|
||||
{
|
||||
player.removePotionEffect(MobEffects.poison);
|
||||
player.removePotionEffect(MobEffects.POISON);
|
||||
poisonCooldown = poisonCooldownTime[this.level];
|
||||
|
||||
ChatUtil.sendNoSpam(player, TextHelper.localize(chatBase + "poisonRemove"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue