v0.3.0: added chilled debuff

This commit is contained in:
Evan Debenham
2015-04-25 01:33:50 -04:00
parent 6507df2824
commit 3f1043e4b9
9 changed files with 121 additions and 14 deletions
@@ -61,7 +61,8 @@ public class IceBlock extends Gizmo {
public static IceBlock freeze( CharSprite sprite ) {
IceBlock iceBlock = new IceBlock( sprite );
sprite.parent.add( iceBlock );
if (sprite.parent != null)
sprite.parent.add( iceBlock );
return iceBlock;
}