Merge pull request #20 from Galtiak/patch-1
powerskiller: added line to get sleepDelay for overlay
This commit is contained in:
commit
d960727a27
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue