#1420: Fix DirectEntity and CausingEntity Damager for Creepers ignited by Player
By: Doc <nachito94@msn.com>
This commit is contained in:
@@ -41,7 +41,7 @@ public class CraftDamageSource implements DamageSource {
|
||||
|
||||
@Override
|
||||
public org.bukkit.entity.Entity getCausingEntity() {
|
||||
net.minecraft.world.entity.Entity entity = this.getHandle().getEntity();
|
||||
net.minecraft.world.entity.Entity entity = this.getHandle().getCausingDamager();
|
||||
return (entity != null) ? entity.getBukkitEntity() : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user