-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
0 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
package me.efekos.simpler; | ||
|
||
import me.efekos.simpler.commands.CommandManager; | ||
import me.efekos.simpler.egs.commands.GiveCookied; | ||
import me.efekos.simpler.items.ItemManager; | ||
import org.bukkit.plugin.java.JavaPlugin; | ||
|
||
public final class Simpler extends JavaPlugin { | ||
private final String customItemDataPath = getDataFolder().getAbsolutePath()+"\\CustomItemData.json"; | ||
|
||
@Override | ||
public void onEnable() { | ||
try { | ||
CommandManager.registerBaseCommand(this, GiveCookied.class); | ||
ItemManager.setPlugin(this); | ||
ItemManager.loadItemData(customItemDataPath); | ||
} catch (Exception e) { | ||
e.printStackTrace(); | ||
} | ||
} | ||
|
||
@Override | ||
public void onDisable() { | ||
// Plugin shutdown logic | ||
ItemManager.saveItemData(customItemDataPath); | ||
} | ||
} |
38 changes: 0 additions & 38 deletions
38
src/main/java/me/efekos/simpler/egs/commands/GiveCookied.java
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
src/main/java/me/efekos/simpler/egs/items/ClickerCokkie.java
This file was deleted.
Oops, something went wrong.