iutils: UtilsScript will consider ring of wealth for a teleport method for Grand Exchange
This commit is contained in:
parent
541b3259c7
commit
0164172d0c
|
@ -23,7 +23,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
version = "4.5.0"
|
||||
version = "4.5.1"
|
||||
|
||||
project.extra["PluginName"] = "iUtils"
|
||||
project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation"
|
||||
|
|
|
@ -292,7 +292,7 @@ public abstract class UtilsScript extends Plugin {
|
|||
protected GrandExchange grandExchange() {
|
||||
if (!GRAND_EXCHANGE.contains(game.localPlayer().position())) {
|
||||
if (GRAND_EXCHANGE.distanceTo(game.localPlayer().position()) > 50) {
|
||||
TeleportMethod varrockTeleport = new TeleportMethod(game, TeleportLocation.VARROCK_CENTRE, 1);
|
||||
TeleportMethod varrockTeleport = new TeleportMethod(game, TeleportLocation.GRAND_EXCHANGE, 1);
|
||||
varrockTeleport.getTeleport(true);
|
||||
}
|
||||
walking.walkTo(GRAND_EXCHANGE);
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue