mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 02:51:32 +01:00
[trunk] word spacing on mute / tempban
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1322 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
79c0ef69c4
commit
96a1bdedc8
@ -41,7 +41,7 @@ public class Commandtempban extends EssentialsCommand
|
|||||||
long banTimestamp = Util.parseDateDiff(time, true);
|
long banTimestamp = Util.parseDateDiff(time, true);
|
||||||
|
|
||||||
p = ess.getUser(server.matchPlayer(args[0]).get(0));
|
p = ess.getUser(server.matchPlayer(args[0]).get(0));
|
||||||
String banReason = "Temporary banned from server for " + Util.formatDateDiff(banTimestamp);
|
String banReason = "Temporarily banned from server for " + Util.formatDateDiff(banTimestamp);
|
||||||
p.setBanReason(banReason);
|
p.setBanReason(banReason);
|
||||||
p.setBanTimeout(banTimestamp);
|
p.setBanTimeout(banTimestamp);
|
||||||
p.kickPlayer(banReason);
|
p.kickPlayer(banReason);
|
||||||
|
Loading…
Reference in New Issue
Block a user