mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
Fix HealingWaters shift
This commit is contained in:
parent
111ecd8f66
commit
de5c45d0e6
|
@ -43,7 +43,7 @@ public class HealingWaters {
|
|||
Entity entity = GeneralMethods.getTargetedEntity(player, range, new ArrayList<Entity>());
|
||||
if (entity instanceof LivingEntity && inWater(entity) && player.isSneaking()) {
|
||||
giveHPToEntity((LivingEntity) entity);
|
||||
} else if ((player.isSneaking() && shift) || (player.isSneaking() && shift)){
|
||||
} else if ((player.isSneaking() && shift) || !shift){
|
||||
giveHP(player);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue