Merge pull request #82 from Parabot/bugfix/interfaces

[BUGFIX] #setAmountOrNameInput
This commit is contained in:
Jeroen Ketelaar
2017-08-28 19:03:20 +02:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
@@ -20,7 +20,7 @@ public interface Client {
void setInterface(int id);
void setAmountOrNameInput(int amount);
void setAmountOrNameInput(String text);
int[] getCurrentExp();
@@ -41,12 +41,12 @@ public class Interfaces {
}
/**
* Sets the int by the given Amount
* Sets the String by the given Amount
*
* @param amount Amount to set
* @param text Amount to set
*/
public static void setAmountOrNameInput(int amount) {
Loader.getClient().setAmountOrNameInput(amount);
public static void setAmountOrNameInput(String text) {
Loader.getClient().setAmountOrNameInput(text);
}
/**