Fix Explosion location - Fixes #3574 (#3826)

This commit is contained in:
Bartosz Stefańczyk 2020-07-06 21:27:19 +02:00
parent 748db42d09
commit c058eec373

View file

@ -99,7 +99,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ * @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);
+ }
+
/**