Prepare the project for javadocs
This commit is contained in:
@@ -8,14 +8,27 @@ import com.google.common.io.ByteStreams;
|
||||
|
||||
import fr.xephi.authme.AuthMe;
|
||||
|
||||
/**
|
||||
*/
|
||||
public class BungeeCordMessage implements PluginMessageListener {
|
||||
|
||||
public AuthMe plugin;
|
||||
|
||||
/**
|
||||
* Constructor for BungeeCordMessage.
|
||||
* @param plugin AuthMe
|
||||
*/
|
||||
public BungeeCordMessage(AuthMe plugin) {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method onPluginMessageReceived.
|
||||
* @param channel String
|
||||
* @param player Player
|
||||
* @param message byte[]
|
||||
* @see org.bukkit.plugin.messaging.PluginMessageListener#onPluginMessageReceived(String, Player, byte[])
|
||||
*/
|
||||
@Override
|
||||
public void onPluginMessageReceived(String channel, Player player,
|
||||
byte[] message) {
|
||||
|
||||
@@ -7,6 +7,8 @@ import org.bukkit.Location;
|
||||
|
||||
import fr.xephi.authme.settings.CustomConfiguration;
|
||||
|
||||
/**
|
||||
*/
|
||||
public class EssSpawn extends CustomConfiguration {
|
||||
|
||||
private static EssSpawn spawn;
|
||||
@@ -17,6 +19,10 @@ public class EssSpawn extends CustomConfiguration {
|
||||
load();
|
||||
}
|
||||
|
||||
/**
|
||||
* Method getInstance.
|
||||
* @return EssSpawn
|
||||
*/
|
||||
public static EssSpawn getInstance() {
|
||||
if (spawn == null) {
|
||||
spawn = new EssSpawn();
|
||||
@@ -24,6 +30,10 @@ public class EssSpawn extends CustomConfiguration {
|
||||
return spawn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method getLocation.
|
||||
* @return Location
|
||||
*/
|
||||
public Location getLocation() {
|
||||
try {
|
||||
if (!this.contains("spawns.default.world"))
|
||||
|
||||
Reference in New Issue
Block a user