mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
parent
aca3398d21
commit
1a16f06ac6
@ -72,7 +72,7 @@ public class Command_doom extends FreedomCommand
|
|||||||
player.setFireTicks(10000);
|
player.setFireTicks(10000);
|
||||||
|
|
||||||
// Generate explosion
|
// Generate explosion
|
||||||
player.getWorld().createExplosion(player.getLocation(), 4F);
|
player.getWorld().createExplosion(player.getLocation(), 0F, false);
|
||||||
|
|
||||||
// Shoot the player in the sky
|
// Shoot the player in the sky
|
||||||
player.setVelocity(player.getVelocity().clone().add(new Vector(0, 20, 0)));
|
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);
|
FUtil.adminAction(sender.getName(), "Banning " + player.getName() + ", IP: " + ip, true);
|
||||||
|
|
||||||
// generate explosion
|
// generate explosion
|
||||||
player.getWorld().createExplosion(player.getLocation(), 4F);
|
player.getWorld().createExplosion(player.getLocation(), 0F, false);
|
||||||
|
|
||||||
// kick player
|
// kick player
|
||||||
player.kickPlayer(ChatColor.RED + "FUCKOFF, and get your shit together!");
|
player.kickPlayer(ChatColor.RED + "FUCKOFF, and get your shit together!");
|
||||||
|
Loading…
Reference in New Issue
Block a user