Make SignShop actually compile.

This commit is contained in:
AppleDash 2017-06-14 19:39:36 -04:00
parent 078336db8f
commit 94bac07727

View File

@ -13,6 +13,7 @@ import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import java.io.File; import java.io.File;
import java.io.InputStreamReader;
/** /**
* Created by appledash on 10/2/16. * Created by appledash on 10/2/16.
@ -40,7 +41,7 @@ public class SaneEconomySignShop extends JavaPlugin {
saveDefaultConfig(); saveDefaultConfig();
limitManager.loadLimits(YamlConfiguration.loadConfiguration(getClass().getResourceAsStream("/limits.yml"))); // Always load from JAR limitManager.loadLimits(YamlConfiguration.loadConfiguration(new InputStreamReader(getClass().getResourceAsStream("/limits.yml")))); // Always load from JAR
signShopManager.loadSignShops(); signShopManager.loadSignShops();
getServer().getScheduler().scheduleSyncRepeatingTask(this, limitManager::incrementLimitsHourly, 0, 20 * 60 * 60); getServer().getScheduler().scheduleSyncRepeatingTask(this, limitManager::incrementLimitsHourly, 0, 20 * 60 * 60);