3
0
This commit is contained in:
Sergey Shatunov 2016-02-06 19:12:12 +07:00
parent 84276822ea
commit d09dc71f62

View File

@ -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