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:
parent
bbf0bfd006
commit
0868f47fc4
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user