mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-05 16:49:30 +00:00
Fix Implementation for DamageSource#isIndirect for internal custom causing entity
This commit is contained in:
parent
6ce1726424
commit
ee9eafe674
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…
Add table
Reference in a new issue