mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +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();
|
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);
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue