forked from xjboss/KCauldronX
Fix #106
This commit is contained in:
parent
84276822ea
commit
d09dc71f62
@ -423,7 +423,7 @@
|
|||||||
+ float originalDamage = f;
|
+ float originalDamage = f;
|
||||||
+ // Cauldron start - apply forge damage hook
|
+ // Cauldron start - apply forge damage hook
|
||||||
+ f = ForgeHooks.onLivingHurt(this, damagesource, f);
|
+ f = ForgeHooks.onLivingHurt(this, damagesource, f);
|
||||||
+ if (f <= 0) return true;
|
+ if (f < 0) return true;
|
||||||
+ // Cauldron end
|
+ // Cauldron end
|
||||||
+ Function<Double, Double> hardHat = new Function<Double, Double>() {
|
+ Function<Double, Double> hardHat = new Function<Double, Double>() {
|
||||||
+ @Override
|
+ @Override
|
||||||
|
Loading…
Reference in New Issue
Block a user