diff options
author | PanFritz <redstonenoobpan@gmail.com> | 2015-01-17 14:03:20 +0100 |
---|---|---|
committer | PanFritz <redstonenoobpan@gmail.com> | 2015-01-17 14:03:20 +0100 |
commit | 9b4d73cfe27d3348e7f34dabda20ca0c70867b20 (patch) | |
tree | 49bc1c15033270443b2995ed25aae8d3a3670a48 /snowbrawl.py | |
parent | c1a69c6a62167ebf7eaf3b20d0804b5d0e12881f (diff) |
Added check for .
Diffstat (limited to 'snowbrawl.py')
-rw-r--r-- | snowbrawl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/snowbrawl.py b/snowbrawl.py index 81e62f0..ba97774 100644 --- a/snowbrawl.py +++ b/snowbrawl.py @@ -18,9 +18,9 @@ def onHit(event): print (event.getEntity().getName()) return print "passed first if statement" - if event.getEntity().getWorld().getName() != "minigames": + """if event.getEntity().getWorld().getName() != "minigames": print "Not in minigames" - return + return""" print "all good." event.getEntity().getWorld().createExplosion(event.getEntity().getLocation().getX(), event.getEntity().getLocation().getY(),event.getEntity().getLocation().getZ(),float(5),False,True) @@ -98,4 +98,4 @@ def getArena(location): if arena.getLocation().inRange(location, arena.getSize() - 1) return arena return None -"""
\ No newline at end of file +""" |