Fixed WaterReturn permission & MetalClips duplication (#573)

This commit is contained in:
Sobki 2016-09-07 03:56:12 +10:00 committed by OmniCypher
parent 184feea3fa
commit 69d7974160
2 changed files with 2 additions and 3 deletions

View file

@ -428,9 +428,7 @@ public class MetalClips extends MetalAbility {
formArmor(); formArmor();
} else { } else {
TARGET_TO_ABILITY.get(targetEntity).remove(); TARGET_TO_ABILITY.get(targetEntity).remove();
targetEntity = (LivingEntity) e; player.getWorld().dropItemNaturally(e.getLocation(), new ItemStack(Material.IRON_INGOT, 1));
TARGET_TO_ABILITY.put(targetEntity, this);
formArmor();
} }
} else { } else {
DamageHandler.damageEntity(e, player, damage, this); DamageHandler.damageEntity(e, player, damage, this);

View file

@ -113,6 +113,7 @@ permissions:
bending.ability.WaterArms.Grab: true bending.ability.WaterArms.Grab: true
bending.ability.WaterArms.Freeze: true bending.ability.WaterArms.Freeze: true
bending.ability.WaterArms.Spear: true bending.ability.WaterArms.Spear: true
bending.ability.WaterReturn: true
bending.earth: bending.earth:
default: true default: true
description: Grants access to all Earthbending abilities. description: Grants access to all Earthbending abilities.