mirror of
https://github.com/AppleDash/SaneEconomy.git
synced 2024-11-29 05:26:16 +01:00
Make SignShop actually compile.
This commit is contained in:
parent
078336db8f
commit
94bac07727
@ -13,6 +13,7 @@ import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStreamReader;
|
||||
|
||||
/**
|
||||
* Created by appledash on 10/2/16.
|
||||
@ -40,7 +41,7 @@ public class SaneEconomySignShop extends JavaPlugin {
|
||||
|
||||
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();
|
||||
|
||||
getServer().getScheduler().scheduleSyncRepeatingTask(this, limitManager::incrementLimitsHourly, 0, 20 * 60 * 60);
|
||||
|
Loading…
Reference in New Issue
Block a user