iutils: remove walking logging spam

This commit is contained in:
illumineawake 2021-08-24 11:43:47 +10:00
parent bb57e80b7d
commit 027693e44b
5 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
version = "4.5.1"
version = "4.5.2"
project.extra["PluginName"] = "iUtils"
project.extra["PluginDescription"] = "Illumine - Utils required for plugins to function with added automation"

View File

@ -78,7 +78,6 @@ public class iTile implements Locatable {
public iObject object(ObjectCategory category) {
switch (category) {
case REGULAR:
log.info("Tile length: {}", tile.getGameObjects().length);
GameObject go = Arrays.stream(tile.getGameObjects()).filter(Objects::nonNull).findFirst().orElse(null);
return (go == null) ? null : new iObject(game, go,
game.getFromClientThread(() -> client().getObjectDefinition(go.getId()))

View File

@ -294,6 +294,8 @@ public abstract class UtilsScript extends Plugin {
if (GRAND_EXCHANGE.distanceTo(game.localPlayer().position()) > 50) {
TeleportMethod varrockTeleport = new TeleportMethod(game, TeleportLocation.GRAND_EXCHANGE, 1);
varrockTeleport.getTeleport(true);
bank.close();
game.tick(2);
}
walking.walkTo(GRAND_EXCHANGE);
}

File diff suppressed because one or more lines are too long