Merge pull request #20 from Galtiak/patch-1

powerskiller: added line to get sleepDelay for overlay
This commit is contained in:
illumineawake 2020-08-09 06:55:36 +10:00 committed by GitHub
commit d960727a27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -243,7 +243,8 @@ public class PowerSkillerPlugin extends Plugin
private long sleepDelay()
{
return utils.randomDelay(config.sleepWeightedDistribution(), config.sleepMin(), config.sleepMax(), config.sleepDeviation(), config.sleepTarget());
sleepLength = utils.randomDelay(config.sleepWeightedDistribution(), config.sleepMin(), config.sleepMax(), config.sleepDeviation(), config.sleepTarget());
return sleepLength;
}
private int tickDelay()
@ -560,4 +561,4 @@ public class PowerSkillerPlugin extends Plugin
utils.dropItems(itemIds, false, config.sleepMin(), config.sleepMax());
}
}
}
}