summaryrefslogtreecommitdiff
path: root/tilehelper.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-06-10 05:43:36 +0200
committerjomo <github@jomo.tv>2014-06-10 05:43:36 +0200
commit89d106967a8157628967d731e87cec833a052c8a (patch)
treead7287ce855bbb256016c1691bfe57beb3f9c8fc /tilehelper.py
parent5390a6578d0a965f310229dfd34cdc167eae70f0 (diff)
bugfix
Diffstat (limited to 'tilehelper.py')
-rw-r--r--tilehelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tilehelper.py b/tilehelper.py
index e361985..fff30d1 100644
--- a/tilehelper.py
+++ b/tilehelper.py
@@ -94,4 +94,4 @@ def onBreakBlockInRegion(event):
@hook.event("player.PlayerInteractEvent", "low")
def onClickBlockInRegion(event):
if not event.isCancelled():
- log("Interact: %s; %s" % (event.getBlock(), event.getAction())) \ No newline at end of file
+ log("Interact: %s; %s" % (event.getClickedBlock(), event.getAction())) \ No newline at end of file