From 1a16f06ac6cf556343e5288155ecf0dec5305529 Mon Sep 17 00:00:00 2001 From: Kell Date: Sat, 14 May 2016 14:47:52 -0400 Subject: [PATCH] Resolves #1644 (#1716) Fix /doom breaking blocks --- .../me/totalfreedom/totalfreedommod/command/Command_doom.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_doom.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_doom.java index 431e375a..61e6306d 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_doom.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_doom.java @@ -72,7 +72,7 @@ public class Command_doom extends FreedomCommand player.setFireTicks(10000); // Generate explosion - player.getWorld().createExplosion(player.getLocation(), 4F); + player.getWorld().createExplosion(player.getLocation(), 0F, false); // Shoot the player in the sky player.setVelocity(player.getVelocity().clone().add(new Vector(0, 20, 0))); @@ -99,7 +99,7 @@ public class Command_doom extends FreedomCommand FUtil.adminAction(sender.getName(), "Banning " + player.getName() + ", IP: " + ip, true); // generate explosion - player.getWorld().createExplosion(player.getLocation(), 4F); + player.getWorld().createExplosion(player.getLocation(), 0F, false); // kick player player.kickPlayer(ChatColor.RED + "FUCKOFF, and get your shit together!");