Fix accidentally renamed internal damage method
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -234,9 +234,9 @@
|
||||
+ // CraftBukkit start
|
||||
@Override
|
||||
- protected void actuallyHurt(DamageSource damagesource, float f) {
|
||||
+ protected boolean damageEntity0(DamageSource damagesource, float f) { // void -> boolean
|
||||
+ protected boolean actuallyHurt(DamageSource damagesource, float f) { // void -> boolean
|
||||
+ if (true) {
|
||||
+ return super.damageEntity0(damagesource, f);
|
||||
+ return super.actuallyHurt(damagesource, f);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
if (!this.isInvulnerableTo(damagesource)) {
|
||||
|
||||
Reference in New Issue
Block a user