mirror of
https://github.com/YouHaveTrouble/NotJustNameplates.git
synced 2026-05-12 06:26:58 +00:00
slowly abstracting away
This commit is contained in:
@@ -5,9 +5,16 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public final class NotJustNameplates extends JavaPlugin {
|
||||
|
||||
private static NotJustNameplates instance;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
instance = this;
|
||||
getServer().getPluginManager().registerEvents(new TeamManagementListener(this), this);
|
||||
}
|
||||
|
||||
public static NotJustNameplates getInstance() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user