mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Fixed WaterReturn permission & MetalClips duplication (#573)
This commit is contained in:
parent
184feea3fa
commit
69d7974160
2 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue