diff options
author | PanFritz <redstonenoobpan@gmail.com> | 2015-01-17 04:34:21 +0100 |
---|---|---|
committer | PanFritz <redstonenoobpan@gmail.com> | 2015-01-17 04:34:21 +0100 |
commit | ea3331f540a3237138e8ac0116ce830d8ccd3187 (patch) | |
tree | 37ee2461a617ad9b3a0856926fa83bbe2d119e51 /snowbrawl.py | |
parent | 583e2cd4f951334081116ac254b67bf8ed18574f (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 4e1e613..2449184 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().getTypeId() != EntityType.SNOWBALL: + if str(event.getEntity().getTypeId()) != str(EntityType.SNOWBALL): print "Not a snowball?" return print "passed first if statement" |