From 2d608a8ceeb8998e9de90413e07f4c64def02a35 Mon Sep 17 00:00:00 2001 From: jomo Date: Tue, 10 Jun 2014 05:43:36 +0200 Subject: [PATCH] bugfix --- tilehelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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