Try to lower the amount of time spent on each move event as mentioned in
issue #26
This commit is contained in:
@ -171,7 +171,7 @@ public class JailMain extends JavaPlugin {
|
||||
|
||||
if(getConfig().getBoolean(Settings.SCOREBOARDENABLED.getPath())) {
|
||||
for(Jail j : jm.getJails()) {
|
||||
for(Prisoner p : j.getAllPrisoners()) {
|
||||
for(Prisoner p : j.getAllPrisoners().values()) {
|
||||
if(getServer().getPlayer(p.getUUID()) != null) {
|
||||
this.sbm.addScoreBoard(getServer().getPlayer(p.getUUID()), p);
|
||||
}
|
||||
|
Reference in New Issue
Block a user