Finish the missing JavaDoc for the scoreboard manager.
This commit is contained in:
parent
ec1e91cda2
commit
065f273c14
@ -65,6 +65,7 @@ public class ScoreBoardManager {
|
|||||||
player.setScoreboard(man.getMainScoreboard());
|
player.setScoreboard(man.getMainScoreboard());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Removes all of the scoreboards from the prisoners. */
|
||||||
public void removeAllScoreboards() {
|
public void removeAllScoreboards() {
|
||||||
HashMap<String, Scoreboard> temp = new HashMap<String, Scoreboard>(boards);
|
HashMap<String, Scoreboard> temp = new HashMap<String, Scoreboard>(boards);
|
||||||
|
|
||||||
@ -79,6 +80,7 @@ public class ScoreBoardManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Updates the prisoners time on their scoreboard. */
|
||||||
private void updatePrisonersTime() {
|
private void updatePrisonersTime() {
|
||||||
for(Jail j : pl.getJailManager().getJails()) {
|
for(Jail j : pl.getJailManager().getJails()) {
|
||||||
for(Prisoner p : j.getAllPrisoners()) {
|
for(Prisoner p : j.getAllPrisoners()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user