mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-01-07 19:28:11 +01:00
Improve variable nameing
This commit is contained in:
parent
73d53f01f8
commit
96ee482edd
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2016 GeorgH93
|
* Copyright (C) 2023 GeorgH93
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -31,9 +31,9 @@ public class IntervalChecked extends UnCacheStrategie implements Runnable
|
|||||||
public IntervalChecked(Database cache)
|
public IntervalChecked(Database cache)
|
||||||
{
|
{
|
||||||
super(cache);
|
super(cache);
|
||||||
long delay = Minepacks.getInstance().getConfiguration().getUnCacheDelay();
|
long delayTicks = Minepacks.getInstance().getConfiguration().getUnCacheDelay();
|
||||||
taskID = Bukkit.getScheduler().scheduleSyncRepeatingTask(Minepacks.getInstance(), this, delay, Minepacks.getInstance().getConfiguration().getUnCacheInterval());
|
taskID = Bukkit.getScheduler().scheduleSyncRepeatingTask(Minepacks.getInstance(), this, delayTicks, Minepacks.getInstance().getConfiguration().getUnCacheInterval());
|
||||||
this.delay = delay * 50L;
|
this.delay = delayTicks * 50L;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user