mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 19:58:34 +01:00
parent
0705b2e1e7
commit
31c0a9221e
1 changed files with 1 additions and 1 deletions
|
@ -136,8 +136,8 @@ public class EntityEffectInhibitor extends Entity implements IVisualizable {
|
||||||
@Override
|
@Override
|
||||||
public boolean hurt(DamageSource source, float amount) {
|
public boolean hurt(DamageSource source, float amount) {
|
||||||
if (source instanceof EntityDamageSource && !this.level.isClientSide) {
|
if (source instanceof EntityDamageSource && !this.level.isClientSide) {
|
||||||
this.kill();
|
|
||||||
this.spawnAtLocation(this.getDrop(), 0F);
|
this.spawnAtLocation(this.getDrop(), 0F);
|
||||||
|
this.kill();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return super.hurt(source, amount);
|
return super.hurt(source, amount);
|
||||||
|
|
Loading…
Reference in a new issue