mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-12-28 12:47:36 +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);
|
||||
}
|
||||
@ -172,4 +175,4 @@ public class Command_ban extends FreedomCommand
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user