mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 12:02:53 +00:00
Save the ban reason, not the command name.
This commit is contained in:
parent
27a0552c2a
commit
625c7d0302
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class Commandban extends EssentialsCommand
|
||||||
if (args.length > 1)
|
if (args.length > 1)
|
||||||
{
|
{
|
||||||
banReason = getFinalArg(args, 1);
|
banReason = getFinalArg(args, 1);
|
||||||
player.setBanReason(commandLabel);
|
player.setBanReason(banReason);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue