mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 03:43:30 +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
|
||||
public boolean hurt(DamageSource source, float amount) {
|
||||
if (source instanceof EntityDamageSource && !this.level.isClientSide) {
|
||||
this.kill();
|
||||
this.spawnAtLocation(this.getDrop(), 0F);
|
||||
this.kill();
|
||||
return true;
|
||||
} else {
|
||||
return super.hurt(source, amount);
|
||||
|
|
Loading…
Reference in a new issue