Reformatted code with new code style
This commit is contained in:
@@ -50,6 +50,7 @@ public class API {
|
||||
|
||||
/**
|
||||
* @param player
|
||||
*
|
||||
* @return true if player is authenticate
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -59,6 +60,7 @@ public class API {
|
||||
|
||||
/**
|
||||
* @param player
|
||||
*
|
||||
* @return true if the player is unrestricted
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -70,6 +72,7 @@ public class API {
|
||||
* Method getLastLocation.
|
||||
*
|
||||
* @param player Player
|
||||
*
|
||||
* @return Location
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -108,6 +111,7 @@ public class API {
|
||||
|
||||
/**
|
||||
* @param playerName
|
||||
*
|
||||
* @return true if player is registered
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -119,6 +123,7 @@ public class API {
|
||||
/**
|
||||
* @param playerName String
|
||||
* @param passwordToCheck String
|
||||
*
|
||||
* @return true if the password is correct , false else
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -140,6 +145,7 @@ public class API {
|
||||
*
|
||||
* @param playerName String
|
||||
* @param password String
|
||||
*
|
||||
* @return true if the player is register correctly
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -182,6 +188,7 @@ public class API {
|
||||
|
||||
/**
|
||||
* @param player
|
||||
*
|
||||
* @return true if player is a npc
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -191,6 +198,7 @@ public class API {
|
||||
|
||||
/**
|
||||
* @param player
|
||||
*
|
||||
* @return true if player is a npc
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -67,6 +67,7 @@ public class NewAPI {
|
||||
|
||||
/**
|
||||
* @param player
|
||||
*
|
||||
* @return true if player is authenticate
|
||||
*/
|
||||
public boolean isAuthenticated(Player player) {
|
||||
@@ -75,6 +76,7 @@ public class NewAPI {
|
||||
|
||||
/**
|
||||
* @param player
|
||||
*
|
||||
* @return true if player is a npc
|
||||
*/
|
||||
public boolean isNPC(Player player) {
|
||||
@@ -83,6 +85,7 @@ public class NewAPI {
|
||||
|
||||
/**
|
||||
* @param player
|
||||
*
|
||||
* @return true if the player is unrestricted
|
||||
*/
|
||||
public boolean isUnrestricted(Player player) {
|
||||
@@ -93,6 +96,7 @@ public class NewAPI {
|
||||
* Method getLastLocation.
|
||||
*
|
||||
* @param player Player
|
||||
*
|
||||
* @return Location
|
||||
*/
|
||||
public Location getLastLocation(Player player) {
|
||||
@@ -112,6 +116,7 @@ public class NewAPI {
|
||||
|
||||
/**
|
||||
* @param playerName
|
||||
*
|
||||
* @return true if player is registered
|
||||
*/
|
||||
public boolean isRegistered(String playerName) {
|
||||
@@ -122,6 +127,7 @@ public class NewAPI {
|
||||
/**
|
||||
* @param playerName String
|
||||
* @param passwordToCheck String
|
||||
*
|
||||
* @return true if the password is correct , false else
|
||||
*/
|
||||
public boolean checkPassword(String playerName, String passwordToCheck) {
|
||||
@@ -141,6 +147,7 @@ public class NewAPI {
|
||||
*
|
||||
* @param playerName String
|
||||
* @param password String
|
||||
*
|
||||
* @return true if the player is register correctly
|
||||
*/
|
||||
public boolean registerPlayer(String playerName, String password) {
|
||||
|
||||
Reference in New Issue
Block a user