Embarrassing typo.
This commit is contained in:
parent
f2e88c1c54
commit
727da2c6b5
@ -112,7 +112,7 @@ public class ReportManager {
|
||||
{
|
||||
Report report = getReport(reportId);
|
||||
|
||||
if (report.getPlayerName() != null) {
|
||||
if (report.getHandler() != null) {
|
||||
reportHandler.sendMessage(C.cRed + "Someone is already handling this report.");
|
||||
} else {
|
||||
String handlerName = reportHandler.getName();
|
||||
|
@ -29,7 +29,7 @@ public class ReportHandleCommand extends CommandBase<ReportPlugin>
|
||||
else
|
||||
{
|
||||
int reportId = Integer.parseInt(args[0]);
|
||||
|
||||
|
||||
Plugin.getReportManager().handleReport(reportId, player);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user