mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-08-26 23:40:17 +02:00
Save the ban reason, not the command name.
This commit is contained in:
parent
27a0552c2a
commit
625c7d0302
|
@ -46,7 +46,7 @@ public class Commandban extends EssentialsCommand
|
|||
if (args.length > 1)
|
||||
{
|
||||
banReason = getFinalArg(args, 1);
|
||||
player.setBanReason(commandLabel);
|
||||
player.setBanReason(banReason);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user