iutils: remove walking logging spam
This commit is contained in:
parent
bb57e80b7d
commit
027693e44b
|
@ -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"
|
||||
|
|
|
@ -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()))
|
||||
|
|
|
@ -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
Binary file not shown.
Loading…
Reference in New Issue