1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00

Fixed Smeltery Fire-Breaking chance not loading

This commit is contained in:
TheBusyBiscuit 2019-08-29 20:30:58 +02:00
parent bbf0bfd006
commit 0868f47fc4

View File

@ -156,10 +156,6 @@ public final class SlimefunStartup extends JavaPlugin {
Messages.local = utils.getLocalization();
Messages.setup();
settings = new Settings(config);
settings.RESEARCHES_ENABLED = getResearchCfg().getBoolean("enable-researching");
settings.SMELTERY_FIRE_BREAK_CHANCE = (Integer) Slimefun.getItemValue("SMELTERY", "chance.fireBreak");
// Setting up bStats
new Metrics(this);
@ -190,11 +186,15 @@ public final class SlimefunStartup extends JavaPlugin {
try {
SlimefunSetup.setupItems();
} catch (Exception e1) {
e1.printStackTrace();
} catch (Exception x) {
x.printStackTrace();
}
MiscSetup.loadDescriptions();
settings = new Settings(config);
settings.RESEARCHES_ENABLED = getResearchCfg().getBoolean("enable-researching");
settings.SMELTERY_FIRE_BREAK_CHANCE = (Integer) Slimefun.getItemValue("SMELTERY", "chance.fireBreak");
System.out.println("[Slimefun] Loading Researches...");
ResearchSetup.setupResearches();