Skip to content

Commit

Permalink
Resolves #1644 (#1716)
Browse files Browse the repository at this point in the history
Fix /doom breaking blocks
  • Loading branch information
Kell authored and JeromSar committed Aug 26, 2016
1 parent 061f81b commit b3e0539
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public boolean run(final CommandSender sender, Player playerSender, Command cmd,
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)));
Expand All @@ -99,7 +99,7 @@ public void run()
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!");
Expand Down

0 comments on commit b3e0539

Please sign in to comment.