Phantom Bridge sigil should now work while riding entities (#717)
http://i.imgur.com/TnQRX6v.gifv
This commit is contained in:
parent
f3173c80a7
commit
b2fb264108
|
@ -4,7 +4,6 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import WayofTime.bloodmagic.api.Constants;
|
||||
import WayofTime.bloodmagic.registry.ModBlocks;
|
||||
|
||||
public class ItemSigilPhantomBridge extends ItemSigilToggleableBase
|
||||
|
@ -17,7 +16,7 @@ public class ItemSigilPhantomBridge extends ItemSigilToggleableBase
|
|||
@Override
|
||||
public void onSigilUpdate(ItemStack stack, World world, EntityPlayer player, int itemSlot, boolean isSelected)
|
||||
{
|
||||
if (!player.onGround && !player.isSneaking())
|
||||
if ((!player.onGround && !player.isRiding()) && !player.isSneaking())
|
||||
return;
|
||||
|
||||
int range = 2;
|
||||
|
|
Loading…
Reference in a new issue