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;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A class representing a permissions group.
|
||||||
|
*/
|
||||||
public class Group {
|
public class Group {
|
||||||
|
|
||||||
private PermissionsPlugin plugin;
|
private PermissionsPlugin plugin;
|
||||||
|
@ -8,10 +8,15 @@ import net.crystalyx.bukkit.simplyperms.SimplyPlugin;
|
|||||||
|
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Main class for PermissionsBukkit.
|
||||||
|
*/
|
||||||
public class PermissionsPlugin extends JavaPlugin {
|
public class PermissionsPlugin extends JavaPlugin {
|
||||||
|
|
||||||
protected SimplyAPI api;
|
protected SimplyAPI api;
|
||||||
|
|
||||||
|
// -- Basic stuff
|
||||||
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
api = ((SimplyPlugin) getServer().getPluginManager().getPlugin("SimplyPerms")).getAPI();
|
api = ((SimplyPlugin) getServer().getPluginManager().getPlugin("SimplyPerms")).getAPI();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user