mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +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
|
||||
public boolean isIndirect() {
|
||||
return this.getHandle().getEntity() != this.getHandle().getDamager();
|
||||
return this.getHandle().getCausingDamager() != this.getHandle().getDamager();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue