Slight code cleanup
This commit is contained in:
parent
f8ad302d80
commit
31dcc87385
@ -285,10 +285,9 @@ public class ReportManager
|
||||
|
||||
if (reportCloser != null)
|
||||
{
|
||||
|
||||
if (reportResult.getType() == ReportResultType.ACCEPTED)
|
||||
{
|
||||
// todo new punish gui
|
||||
// TODO: force moderator to choose a punishment (requires new punish gui)
|
||||
CommandCenter.Instance.onPlayerCommandPreprocess(
|
||||
new PlayerCommandPreprocessEvent(reportCloser,
|
||||
String.format("/punish %s Report #%s - %s", suspectName, reportId, reason)));
|
||||
|
Loading…
Reference in New Issue
Block a user