diff options
author | PanFritz <redstonenoobpan@gmail.com> | 2015-01-17 04:36:41 +0100 |
---|---|---|
committer | PanFritz <redstonenoobpan@gmail.com> | 2015-01-17 04:36:41 +0100 |
commit | c062ce6782f7c4eb7f14347411ba8c67fcb26870 (patch) | |
tree | 42228b47d46d7bd4cc73e0f0e79e3bb2c278c956 /snowbrawl.py | |
parent | ea3331f540a3237138e8ac0116ce830d8ccd3187 (diff) |
changed getType to getTypeId
Diffstat (limited to 'snowbrawl.py')
-rw-r--r-- | snowbrawl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snowbrawl.py b/snowbrawl.py index 2449184..dd89083 100644 --- a/snowbrawl.py +++ b/snowbrawl.py @@ -13,7 +13,7 @@ PlayersInQue @hook.event("entity.ProjectileHitEvent", "high") def onHit(event): print "thrown" - if str(event.getEntity().getTypeId()) != str(EntityType.SNOWBALL): + if event.getEntity().getName() != "SNOWBALL": print "Not a snowball?" return print "passed first if statement" |