PC-1019 Give indication of when a report is forwarded to a team

This commit is contained in:
Keir Nellyer 2016-10-11 14:30:43 +01:00
parent 3dc9038bae
commit 15cf3a2bee
2 changed files with 7 additions and 0 deletions

View File

@ -80,6 +80,8 @@ public class ReportHandlerTask extends BukkitRunnable
.add(prefix + C.cAqua + "Suspect - " + C.cGold + suspectName)
.add("\n")
.add(prefix + C.cAqua + "Type - " + C.cGold + report.getCategory().getName())
.add("\n")
.add(prefix + C.cAqua + "Team - " + C.cGold + report.getAssignedTeam().map(ReportTeam::getName).orElse("None"))
.add("\n" + prefix + "\n")
.add(prefix + C.cGold + report.getMessages().size() + C.cAqua + " total reports")
.add("\n")

View File

@ -16,6 +16,11 @@ public enum ReportTeam
_initialPriority = initialPriority;
}
public String getName()
{
return name();
}
public short getDatabaseId()
{
return _databaseId;