mirror of
https://github.com/songoda/UltimateModeration.git
synced 2024-11-26 12:15:14 +01:00
Fixed kick command.
This commit is contained in:
parent
2a213ca1a8
commit
82b41d1b5e
22
.gitignore
vendored
22
.gitignore
vendored
@ -262,3 +262,25 @@ target/classes/com/songoda/ultimatemoderation/staffchat/StaffChannel\.class
|
|||||||
target/classes/com/songoda/ultimatemoderation/staffchat/StaffChatManager\.class
|
target/classes/com/songoda/ultimatemoderation/staffchat/StaffChatManager\.class
|
||||||
|
|
||||||
target/classes/com/songoda/ultimatemoderation/gui/GUITicketType\.class
|
target/classes/com/songoda/ultimatemoderation/gui/GUITicketType\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$1\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$2\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$AdvancedBarChart\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$AdvancedPie\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$CustomChart\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$DrilldownPie\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$MultiLineChart\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$SimpleBarChart\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$SimplePie\.class
|
||||||
|
|
||||||
|
target/classes/com/songoda/ultimatemoderation/utils/Metrics\$SingleLineChart\.class
|
||||||
|
@ -77,7 +77,7 @@ public class Punishment {
|
|||||||
break;
|
break;
|
||||||
case KICK:
|
case KICK:
|
||||||
if (victim.isOnline()) {
|
if (victim.isOnline()) {
|
||||||
victim.getPlayer().kickPlayer(plugin.getLocale().getMessage("event.ban.message",
|
victim.getPlayer().kickPlayer(plugin.getLocale().getMessage("event.kick.message",
|
||||||
reason == null ? "" : reason,
|
reason == null ? "" : reason,
|
||||||
Methods.makeReadable(duration)));
|
Methods.makeReadable(duration)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user