Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static File recipefile;
- public void onEnable() {
- this.saveConfig();
- this.reloadConfig();
- createCustomConfig();
- recipefile = new File(this.getDataFolder(), "/recipes/");
- if (!recipefile.exists()) {
- recipefile.mkdir();
- Recipes.addRecipes();
- } else {
- Recipes.addRecipes();
- }
- instance = this;
- registerCommands();
- registerEvents();
- Bukkit.getServer().getLogger().info("SurvivalV5Core V1.0 Beta by Adventum started!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement