PC-1019 Give indication of when a report is forwarded to a team
This commit is contained in:
parent
3dc9038bae
commit
15cf3a2bee
@ -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")
|
||||
|
@ -16,6 +16,11 @@ public enum ReportTeam
|
||||
_initialPriority = initialPriority;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name();
|
||||
}
|
||||
|
||||
public short getDatabaseId()
|
||||
{
|
||||
return _databaseId;
|
||||
|
Loading…
Reference in New Issue
Block a user