Added some comments

This commit is contained in:
Michel Roux 2012-05-11 11:18:16 +02:00
parent becbe1be80
commit 9485086893
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -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();
}