From 9935adc4ed9ac6c9ddf6c9e290b4c9f59b60cd4e Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 30 Jul 2015 16:56:52 +1000 Subject: Update for minor remapping changes. --- nms-patches/Explosion.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nms-patches/Explosion.patch') diff --git a/nms-patches/Explosion.patch b/nms-patches/Explosion.patch index 9e09e327..1b6b56f1 100644 --- a/nms-patches/Explosion.patch +++ b/nms-patches/Explosion.patch @@ -139,13 +139,12 @@ } } } -@@ -197,7 +266,10 @@ +@@ -197,7 +266,9 @@ } - public EntityLiving c() { + public EntityLiving getSource() { - return this.source == null ? null : (this.source instanceof EntityTNTPrimed ? ((EntityTNTPrimed) this.source).getSource() : (this.source instanceof EntityLiving ? (EntityLiving) this.source : null)); + // CraftBukkit start - obtain Fireball shooter for explosion tracking -+ // PAIL: Rename + return this.source == null ? null : (this.source instanceof EntityTNTPrimed ? ((EntityTNTPrimed) this.source).getSource() : (this.source instanceof EntityLiving ? (EntityLiving) this.source : (this.source instanceof EntityFireball ? ((EntityFireball) this.source).shooter : null))); + // CraftBukkit end } -- cgit v1.2.3