mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-02 16:49:09 +00:00
Merge pull request #82 from Parabot/bugfix/interfaces
[BUGFIX] #setAmountOrNameInput
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user