1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-05 06:07:54 +02:00

Save the ban reason, not the command name.

This commit is contained in:
KHobbits
2011-10-18 05:35:21 +01:00
parent ea634acc3c
commit fe7c02063e

View File

@@ -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
{ {