summaryrefslogtreecommitdiff
path: root/snowbrawl.py
diff options
context:
space:
mode:
authorPanFritz <redstonenoobpan@gmail.com>2015-01-17 04:24:08 +0100
committerPanFritz <redstonenoobpan@gmail.com>2015-01-17 04:24:08 +0100
commit8efd791e545ce16e5f3da996923468ec85d339d3 (patch)
tree382b8c4ede4e37713e6401b161196c71904bd972 /snowbrawl.py
parent59c5c8ed029c313191415f26648e2197626456ad (diff)
debug
Diffstat (limited to 'snowbrawl.py')
-rw-r--r--snowbrawl.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/snowbrawl.py b/snowbrawl.py
index ebd187b..8b51537 100644
--- a/snowbrawl.py
+++ b/snowbrawl.py
@@ -13,7 +13,7 @@ PlayersInQue
@hook.event("entity.ProjectileHitEvent", "high")
def onHit(event):
print "thrown"
- if event.getEntity().getType() != EntityType.SNOWBALL:
+ """if event.getEntity().getType() != EntityType.SNOWBALL:
print "Not a snowball?"
return
print "passed first if statement"
@@ -21,11 +21,11 @@ def onHit(event):
print "Not in minigames"
return
print "all good."
- event.getEntity().getWorld().createExplosion(event.getEntity().getLocation(),1)
+ event.getEntity().getWorld().createExplosion(event.getEntity().getLocation(),1)"""
-@hook.event("PlayerInteractEvent")
+@hook.event("Player.PlayerInteractEvent")
def onClick(event):
if (event.getAction() != Action.RIGHT_CLICK_BLOCK):
return