Fix reports being logged multiple times to console

This commit is contained in:
Telesphoreo 2020-11-07 21:00:49 -06:00
parent 43c2df58c7
commit 366287eb24

View File

@ -186,8 +186,8 @@ public class ChatManager extends FreedomService
if (plugin.sl.isStaff(player)) if (plugin.sl.isStaff(player))
{ {
playerMsg(player, ChatColor.RED + "[REPORTS] " + ChatColor.GOLD + reporter.getName() + " has reported " + reported.getName() + " for " + report); playerMsg(player, ChatColor.RED + "[REPORTS] " + ChatColor.GOLD + reporter.getName() + " has reported " + reported.getName() + " for " + report);
}
}
FLog.info("[REPORTS] " + reporter.getName() + " has reported " + reported.getName() + " for " + report); FLog.info("[REPORTS] " + reporter.getName() + " has reported " + reported.getName() + " for " + report);
} }
}
}
} }