Added some comments
This commit is contained in:
parent
becbe1be80
commit
9485086893
@ -5,6 +5,9 @@ import java.util.List;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
/**
|
||||
* A class representing a permissions group.
|
||||
*/
|
||||
public class Group {
|
||||
|
||||
private PermissionsPlugin plugin;
|
||||
|
@ -8,10 +8,15 @@ import net.crystalyx.bukkit.simplyperms.SimplyPlugin;
|
||||
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
/**
|
||||
* Main class for PermissionsBukkit.
|
||||
*/
|
||||
public class PermissionsPlugin extends JavaPlugin {
|
||||
|
||||
protected SimplyAPI api;
|
||||
|
||||
// -- Basic stuff
|
||||
@Override
|
||||
public void onEnable() {
|
||||
api = ((SimplyPlugin) getServer().getPluginManager().getPlugin("SimplyPerms")).getAPI();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user