Set default CustomExplosion maxFallingBlocks to 0

This fixes an exception thrown when the trap rune in Wizards is
activated.
This commit is contained in:
cnr 2016-04-19 02:59:31 -05:00
parent bda9772ba6
commit ef8474ae9d

View File

@ -53,7 +53,7 @@ public class CustomExplosion extends Explosion
private mineplex.core.explosion.Explosion _explosion; private mineplex.core.explosion.Explosion _explosion;
private float _damage; private float _damage;
private boolean _useCustomDamage; private boolean _useCustomDamage;
private int _maxFallingBlocks = -1; private int _maxFallingBlocks = 0;
private float _maxDamage = 1000; private float _maxDamage = 1000;
private float _size; private float _size;
private boolean _damageBlocks = true; private boolean _damageBlocks = true;