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 org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
import buttondevteam.alisolarflare.aliarrow.AliArrowSubPlugin;
|
import buttondevteam.alisolarflare.aliarrow.AliArrowSubPlugin;
|
||||||
import buttondevteam.core.player.PlayerSubPlugin;
|
import buttondevteam.core.player.CoreSubPlugin;
|
||||||
|
|
||||||
public class MainPlugin extends JavaPlugin {
|
public class MainPlugin extends JavaPlugin {
|
||||||
private PluginDescriptionFile pdfFile;
|
private PluginDescriptionFile pdfFile;
|
||||||
private Logger logger;
|
private Logger logger;
|
||||||
private AliArrowSubPlugin aliArrowSubPlugin;
|
private AliArrowSubPlugin aliArrowSubPlugin;
|
||||||
private PlayerSubPlugin playerSubPlugin;
|
private CoreSubPlugin playerSubPlugin;
|
||||||
|
|
||||||
public void onEnable(){
|
public void onEnable(){
|
||||||
//Logs "Plugin Enabled", registers commands
|
//Logs "Plugin Enabled", registers commands
|
||||||
|
@ -29,7 +29,7 @@ public class MainPlugin extends JavaPlugin {
|
||||||
private void registerSubPlugins() {
|
private void registerSubPlugins() {
|
||||||
aliArrowSubPlugin = new AliArrowSubPlugin(this);
|
aliArrowSubPlugin = new AliArrowSubPlugin(this);
|
||||||
aliArrowSubPlugin.register();
|
aliArrowSubPlugin.register();
|
||||||
playerSubPlugin = new PlayerSubPlugin(this);
|
playerSubPlugin = new CoreSubPlugin(this);
|
||||||
playerSubPlugin.register();
|
playerSubPlugin.register();
|
||||||
}
|
}
|
||||||
private void registerCommands() {
|
private void registerCommands() {
|
||||||
|
|
|
@ -2,10 +2,10 @@ package buttondevteam.core.player;
|
||||||
|
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
|
|
||||||
public class PlayerSubPlugin {
|
public class CoreSubPlugin {
|
||||||
public static Plugin plugin;
|
public Plugin plugin;
|
||||||
|
|
||||||
public PlayerSubPlugin(Plugin plugin) {
|
public CoreSubPlugin(Plugin plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
package buttondevteam.core.player;
|
package buttondevteam.core.player;
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
|
|
||||||
import org.bukkit.configuration.file.YamlConfiguration;
|
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
import org.yaml.snakeyaml.Yaml;
|
|
||||||
|
|
||||||
public class TBMCPlayerAddEvent extends Event {
|
public class TBMCPlayerAddEvent extends Event {
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|
Loading…
Reference in a new issue