Renamed to CoreSubPlugin
This commit is contained in:
parent
e3f6c24c5f
commit
cc45238034
3 changed files with 6 additions and 10 deletions
|
@ -6,13 +6,13 @@ import org.bukkit.plugin.PluginDescriptionFile;
|
|||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import buttondevteam.alisolarflare.aliarrow.AliArrowSubPlugin;
|
||||
import buttondevteam.core.player.PlayerSubPlugin;
|
||||
import buttondevteam.core.player.CoreSubPlugin;
|
||||
|
||||
public class MainPlugin extends JavaPlugin {
|
||||
private PluginDescriptionFile pdfFile;
|
||||
private Logger logger;
|
||||
private AliArrowSubPlugin aliArrowSubPlugin;
|
||||
private PlayerSubPlugin playerSubPlugin;
|
||||
private CoreSubPlugin playerSubPlugin;
|
||||
|
||||
public void onEnable(){
|
||||
//Logs "Plugin Enabled", registers commands
|
||||
|
@ -29,7 +29,7 @@ public class MainPlugin extends JavaPlugin {
|
|||
private void registerSubPlugins() {
|
||||
aliArrowSubPlugin = new AliArrowSubPlugin(this);
|
||||
aliArrowSubPlugin.register();
|
||||
playerSubPlugin = new PlayerSubPlugin(this);
|
||||
playerSubPlugin = new CoreSubPlugin(this);
|
||||
playerSubPlugin.register();
|
||||
}
|
||||
private void registerCommands() {
|
||||
|
|
|
@ -2,10 +2,10 @@ package buttondevteam.core.player;
|
|||
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
public class PlayerSubPlugin {
|
||||
public static Plugin plugin;
|
||||
public class CoreSubPlugin {
|
||||
public Plugin plugin;
|
||||
|
||||
public PlayerSubPlugin(Plugin plugin) {
|
||||
public CoreSubPlugin(Plugin plugin) {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
package buttondevteam.core.player;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.event.HandlerList;
|
||||
import org.yaml.snakeyaml.Yaml;
|
||||
|
||||
public class TBMCPlayerAddEvent extends Event {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
|
Loading…
Reference in a new issue