Fix Implementation for DamageSource#isIndirect for internal custom causing entity
This commit is contained in:
parent
6ce1726424
commit
ee9eafe674
@ -65,7 +65,7 @@ public class CraftDamageSource implements DamageSource {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isIndirect() {
|
public boolean isIndirect() {
|
||||||
return this.getHandle().getEntity() != this.getHandle().getDamager();
|
return this.getHandle().getCausingDamager() != this.getHandle().getDamager();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user