mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Fixed unable to cast at low health when in creative mode
This commit is contained in:
parent
1c0ada5ae9
commit
b0e61fbd11
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ public class Pony extends Living<PlayerEntity> implements Copyable<Pony>, Update
|
||||||
|
|
||||||
directTakeEnergy(foodSubtract);
|
directTakeEnergy(foodSubtract);
|
||||||
|
|
||||||
return entity.getHealth() > 1 && mana.getMana().getPercentFill() > 0.1F;
|
return entity.isCreative() || (entity.getHealth() > 1 && mana.getMana().getPercentFill() > 0.1F);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void directTakeEnergy(double foodSubtract) {
|
protected void directTakeEnergy(double foodSubtract) {
|
||||||
|
|
Loading…
Reference in a new issue