mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2024-09-30 13:23:58 +00:00
added "banned (user) quietly" message
did i do this right, idk java
This commit is contained in:
parent
51e1191816
commit
8628e88e3a
|
@ -104,7 +104,10 @@ public class Command_ban extends FreedomCommand
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
sender.sendMessage(ChatColor.GRAY + "Banned " + player.getName() + " quietly.");
|
||||
}
|
||||
// Kill player
|
||||
player.setHealth(0.0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue