[BUGFIX] Set getOpenBackDialogId as deprecated

This commit is contained in:
Emmastone
2016-10-17 00:20:12 +01:00
parent 0c07067201
commit 33393875a6
@@ -36,6 +36,18 @@ public class Game {
return Loader.getClient().getOpenInterfaceId(); return Loader.getClient().getOpenInterfaceId();
} }
/**
* Get open back dialog id
*
* @return back dialog id
* @deprecated Use {@link Interfaces #getBackDialogId()} instead.
*/
@Deprecated
public static int getOpenBackDialogId() {
return Loader.getClient().getBackDialogId();
}
/** /**
* Gets loop cycle * Gets loop cycle
* *
@@ -81,7 +93,6 @@ public class Game {
* Returns the settings within the client * Returns the settings within the client
* *
* @param index The index of the setting you want to gather * @param index The index of the setting you want to gather
*
* @return The specific setting for the given index * @return The specific setting for the given index
*/ */
public static int getSetting(int index) { public static int getSetting(int index) {
@@ -115,6 +126,7 @@ public class Game {
/** /**
* Drops the client and returns if the game is logged out or not * Drops the client and returns if the game is logged out or not
*
* @return True if game is logged out, false if not * @return True if game is logged out, false if not
*/ */
public static boolean confirmedDropClient() { public static boolean confirmedDropClient() {