Fixed #697
This commit is contained in:
parent
b1a532950d
commit
66f3a9b581
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
------------------------------------------------------
|
||||||
|
Version 2.0.0-28
|
||||||
|
------------------------------------------------------
|
||||||
|
- Fixed the soul snare.
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
Version 2.0.0-27
|
Version 2.0.0-27
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
|
|
|
@ -64,6 +64,6 @@ public class ItemSigilAir extends ItemSigilBase implements ISentientSwordEffectP
|
||||||
@Override
|
@Override
|
||||||
public boolean providesEffectForWill(EnumDemonWillType type)
|
public boolean providesEffectForWill(EnumDemonWillType type)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,9 @@ public class ItemSoulSnare extends Item implements IVariantProvider
|
||||||
|
|
||||||
if (!worldIn.isRemote)
|
if (!worldIn.isRemote)
|
||||||
{
|
{
|
||||||
worldIn.spawnEntityInWorld(new EntitySoulSnare(worldIn, playerIn));
|
EntitySoulSnare snare = new EntitySoulSnare(worldIn, playerIn);
|
||||||
|
snare.func_184538_a(playerIn, playerIn.rotationPitch, playerIn.rotationYaw, 0.0F, 1.5F, 1.0F);
|
||||||
|
worldIn.spawnEntityInWorld(snare);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, itemStackIn);
|
return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, itemStackIn);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue