diff options
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/Explosion.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nms-patches/Explosion.patch b/nms-patches/Explosion.patch index c49fa8ff..1da3e5fa 100644 --- a/nms-patches/Explosion.patch +++ b/nms-patches/Explosion.patch @@ -144,3 +144,15 @@ } } } +@@ -197,7 +266,10 @@ + } + + public EntityLiving c() { +- 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 + } + + public void clearBlocks() { |