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.local = utils.getLocalization();
|
||||||
Messages.setup();
|
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
|
// Setting up bStats
|
||||||
new Metrics(this);
|
new Metrics(this);
|
||||||
|
|
||||||
@ -190,11 +186,15 @@ public final class SlimefunStartup extends JavaPlugin {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
SlimefunSetup.setupItems();
|
SlimefunSetup.setupItems();
|
||||||
} catch (Exception e1) {
|
} catch (Exception x) {
|
||||||
e1.printStackTrace();
|
x.printStackTrace();
|
||||||
}
|
}
|
||||||
MiscSetup.loadDescriptions();
|
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...");
|
System.out.println("[Slimefun] Loading Researches...");
|
||||||
ResearchSetup.setupResearches();
|
ResearchSetup.setupResearches();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user