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();
} else {
TARGET_TO_ABILITY.get(targetEntity).remove();
targetEntity = (LivingEntity) e;
TARGET_TO_ABILITY.put(targetEntity, this);
formArmor();
player.getWorld().dropItemNaturally(e.getLocation(), new ItemStack(Material.IRON_INGOT, 1));
}
} else {
DamageHandler.damageEntity(e, player, damage, this);

View file

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