Add the jail name to the scoreboard's title.

This commit is contained in:
graywolf336
2014-03-16 16:13:40 -05:00
parent fe7cb9f5a5
commit 126c1576c4
4 changed files with 7 additions and 6 deletions

View File

@ -163,7 +163,7 @@ public class JailMain extends JavaPlugin {
for(Jail j : jm.getJails()) {
for(Prisoner p : j.getAllPrisoners()) {
if(getServer().getPlayerExact(p.getName()) != null) {
this.sbm.addScoreBoard(getServer().getPlayerExact(p.getName()), p);
this.sbm.addScoreBoard(getServer().getPlayerExact(p.getName()), j, p);
}
}
}