aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCDFN <[email protected]>2020-07-06 15:28:58 -0400
committerAikar <[email protected]>2020-07-06 15:28:58 -0400
commitbe4d74d9332ce8dc0429a6c84df8ed4190d2a9cd (patch)
treea225cc230fa95a70ec7462f61141f71676f5e6c4
parent31e5f668816699279a8fbe2fa3abb172ad6bae27 (diff)
downloadPaper-be4d74d9332ce8dc0429a6c84df8ed4190d2a9cd.tar.gz
Paper-be4d74d9332ce8dc0429a6c84df8ed4190d2a9cd.zip
Fix Explosion location - Fixes #3574
-rw-r--r--Spigot-API-Patches/0111-Expand-Explosions-API.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/Spigot-API-Patches/0111-Expand-Explosions-API.patch b/Spigot-API-Patches/0111-Expand-Explosions-API.patch
index 0b5880cfd7..8ddb1de1af 100644
--- a/Spigot-API-Patches/0111-Expand-Explosions-API.patch
+++ b/Spigot-API-Patches/0111-Expand-Explosions-API.patch
@@ -99,7 +99,7 @@ index 4cf22afc3c1f1cc19b6e5350043431215908a612..ac3c8eef58872c2de840a4b7ba7d77c2
+ * @return false if explosion was canceled, otherwise true
+ */
+ public boolean createExplosion(@NotNull Entity source, float power, boolean setFire, boolean breakBlocks) {
-+ return this.getWorld().createExplosion(source, source.getLocation(), power, setFire, breakBlocks);
++ return this.getWorld().createExplosion(source, this, power, setFire, breakBlocks);
+ }
+
/**