Fixed the supermove check

This commit is contained in:
Sollace 2023-08-15 23:18:59 +01:00
parent 3b16930e3b
commit a071735853
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -269,7 +269,7 @@ public class Pony extends Living<PlayerEntity> implements Copyable<Pony>, Update
}
public boolean canUseSuperMove() {
return getMagicalReserves().getCharge().get() >= getMagicalReserves().getCharge().get();
return entity.isCreative() || getMagicalReserves().getCharge().get() >= getMagicalReserves().getCharge().getMax();
}
public boolean consumeSuperMove() {