Plug spell property value into black hole radius calculations

This commit is contained in:
Electroblob77
2020-09-23 14:04:23 +01:00
parent 77f698397a
commit 84236093c8
@@ -93,7 +93,7 @@ public class EntityBlackHole extends EntityScaledConstruct {
if(!this.world.isRemote){
double radius = 6 * sizeMultiplier; // TODO: Support for spell properties
double radius = 2 * height * sizeMultiplier;
boolean suckInBlocks = getCaster() instanceof EntityPlayer && EntityUtils.canDamageBlocks(getCaster(), world)
&& ItemArtefact.isArtefactActive((EntityPlayer)getCaster(), WizardryItems.charm_black_hole);