Try to lower the amount of time spent on each move event as mentioned in
issue #26
This commit is contained in:
@ -66,7 +66,7 @@ public class JailTimer {
|
||||
}
|
||||
|
||||
for(Jail j : pl.getJailManager().getJails()) {
|
||||
for(Prisoner p : j.getAllPrisoners()) {
|
||||
for(Prisoner p : j.getAllPrisoners().values()) {
|
||||
//only execute this code if the prisoner's time is more than 0 milliseconds
|
||||
if(p.getRemainingTime() > 0) {
|
||||
Player player = pl.getServer().getPlayer(p.getUUID());
|
||||
|
Reference in New Issue
Block a user