mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 18:50:51 +01:00
Fix Implementation for DamageSource#isIndirect for internal custom causing entity
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
199310d0bd
commit
6af115230a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue