From 1c4ec9227ebcd3b413776c89605f9a2b15a24132 Mon Sep 17 00:00:00 2001 From: PanFritz Date: Sat, 17 Jan 2015 01:04:44 +0100 Subject: [PATCH] update explosion --- snowbrawl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowbrawl.py b/snowbrawl.py index bae594c..a1a6b8c 100644 --- a/snowbrawl.py +++ b/snowbrawl.py @@ -20,7 +20,7 @@ def onHit(event): print "Not in minigames" return print "all good." - event.getWorld().createExplosion(event.getLocation(),1) + event.getEntity().getWorld().createExplosion(event.getEntity.getLocation(),1)