From 24be4720e3276af8c2352b060e34ab91574c7b82 Mon Sep 17 00:00:00 2001 From: Morgan Creekmore Date: Thu, 24 Sep 2015 01:31:53 -0600 Subject: [PATCH] Remove logger.info call --- examples/basic/example_plugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/basic/example_plugin.py b/examples/basic/example_plugin.py index 0577666..972a0b7 100644 --- a/examples/basic/example_plugin.py +++ b/examples/basic/example_plugin.py @@ -70,7 +70,9 @@ def perform_initial_actions(self, name, data): self.chat.chat('Bot active') # Walk to target coordinates - self.movement.move_location = TARGET_COORDINATES + self.movement.move_to(TARGET_COORDINATES.x, + TARGET_COORDINATES.y, + TARGET_COORDINATES.z) def chat_event_handler(self, name, data): """Called when a chat message occurs in the game""" @@ -79,7 +81,6 @@ def chat_event_handler(self, name, data): def hold_block(self, name, data): # Search the hotbar for cobblestone slot = self.inventory.find_slot(4, self.inventory.window.hotbar_slots) - logger.info(slot) # Switch to slot with cobblestone if slot is not None: self.inventory.select_active_slot(slot)