Fix SignShop limit issue.

This commit is contained in:
AppleDash 2017-01-18 23:00:47 -05:00
parent 56a3904b43
commit cf60c7bbbe

View File

@ -43,7 +43,7 @@ public class SaneEconomySignShop extends JavaPlugin {
limitManager.loadLimits(YamlConfiguration.loadConfiguration(getClass().getResourceAsStream("/limits.yml"))); // Always load from JAR
signShopManager.loadSignShops();
getServer().getScheduler().scheduleSyncRepeatingTask(this, limitManager::incrementLimitsHourly, 0, 20 * 60);
getServer().getScheduler().scheduleSyncRepeatingTask(this, limitManager::incrementLimitsHourly, 0, 20 * 60 * 60);
getServer().getPluginManager().registerEvents(new SignChangeListener(this), this);
getServer().getPluginManager().registerEvents(new InteractListener(this), this);