Skip to content

Commit

Permalink
Remove logger.info call
Browse files Browse the repository at this point in the history
  • Loading branch information
gamingrobot committed Sep 24, 2015
1 parent 24f72b6 commit 24be472
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/basic/example_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand All @@ -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)
Expand Down

0 comments on commit 24be472

Please sign in to comment.