diff options
author | md_5 <git@md-5.net> | 2015-07-30 16:56:52 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2015-07-30 17:13:35 +1000 |
commit | 9935adc4ed9ac6c9ddf6c9e290b4c9f59b60cd4e (patch) | |
tree | 419daa22a7b957617c86aae6a4d26098f2157995 /nms-patches/Explosion.patch | |
parent | de5c26123fcb6294e77ec916d91635c3f18982ee (diff) | |
download | craftbukkit-9935adc4ed9ac6c9ddf6c9e290b4c9f59b60cd4e.tar craftbukkit-9935adc4ed9ac6c9ddf6c9e290b4c9f59b60cd4e.tar.gz craftbukkit-9935adc4ed9ac6c9ddf6c9e290b4c9f59b60cd4e.tar.lz craftbukkit-9935adc4ed9ac6c9ddf6c9e290b4c9f59b60cd4e.tar.xz craftbukkit-9935adc4ed9ac6c9ddf6c9e290b4c9f59b60cd4e.zip |
Update for minor remapping changes.
Diffstat (limited to 'nms-patches/Explosion.patch')
-rw-r--r-- | nms-patches/Explosion.patch | 5 |
1 files changed, 2 insertions, 3 deletions
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 } |