This commit is contained in:
jomo
2014-06-10 05:43:36 +02:00
parent ec16b0045f
commit 2d608a8cee

View File

@@ -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()))
log("Interact: %s; %s" % (event.getClickedBlock(), event.getAction()))