mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-15 10:55:20 +01:00
Added ability to access the plugin from another one
Added ability to access the plugin from another plugin
This commit is contained in:
parent
f6854fc146
commit
4b34569729
@ -2,7 +2,7 @@ name: MinePacks
|
||||
author: GeorgH93
|
||||
website: http://dev.bukkit.org/bukkit-plugins/minepacks/
|
||||
main: at.pcgamingfreaks.georgh.MinePacks.MinePacks
|
||||
version: 1.0
|
||||
version: 1.0.0.1
|
||||
commands:
|
||||
backpack:
|
||||
description: Main command
|
||||
|
@ -22,6 +22,7 @@
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.ServicePriority;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import at.pcgamingfreaks.georgh.MinePacks.Database.*;
|
||||
@ -56,6 +57,7 @@ public void onEnable()
|
||||
|
||||
BackpackTitle = config.getBPTitle();
|
||||
Message_IvalidBackpack = ChatColor.RED + lang.Get("Ingame.IvalidBackpack");
|
||||
getServer().getServicesManager().register(MinePacks.class, this, this, ServicePriority.Normal);
|
||||
log.info(lang.Get("Console.Enabled"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user