diff options
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/Explosion.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/Explosion.patch b/nms-patches/Explosion.patch index 85de23f8..4cba2e11 100644 --- a/nms-patches/Explosion.patch +++ b/nms-patches/Explosion.patch @@ -90,13 +90,13 @@ + float yield; + + if (explode != null) { -+ EntityExplodeEvent event = new EntityExplodeEvent(explode, location, blockList, 0.3F); ++ EntityExplodeEvent event = new EntityExplodeEvent(explode, location, blockList, 1.0F / this.size); + this.world.getServer().getPluginManager().callEvent(event); + cancelled = event.isCancelled(); + bukkitBlocks = event.blockList(); + yield = event.getYield(); + } else { -+ BlockExplodeEvent event = new BlockExplodeEvent(location.getBlock(), blockList, 0.3F); ++ BlockExplodeEvent event = new BlockExplodeEvent(location.getBlock(), blockList, 1.0F / this.size); + this.world.getServer().getPluginManager().callEvent(event); + cancelled = event.isCancelled(); + bukkitBlocks = event.blockList(); |