Added an auto-crafting ritual
Fixed Blood Light sigil glitches Fixed some issues with the Reagent HP bar not draining correctly - what was I thinking?!?
This commit is contained in:
parent
d1fc806113
commit
3d89bd6b90
13 changed files with 503 additions and 55 deletions
|
@ -49,7 +49,6 @@ public class ItemBloodLightSigil extends EnergyItems implements IHolding
|
|||
@Override
|
||||
public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
|
||||
{
|
||||
System.out.println("Being called");
|
||||
if(!EnergyItems.checkAndSetItemOwner(par1ItemStack, par2EntityPlayer) || !EnergyItems.syphonBatteries(par1ItemStack, par2EntityPlayer, getEnergyUsed()))
|
||||
{
|
||||
return true;
|
||||
|
@ -96,7 +95,7 @@ public class ItemBloodLightSigil extends EnergyItems implements IHolding
|
|||
@Override
|
||||
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
|
||||
{
|
||||
if (EnergyItems.checkAndSetItemOwner(par1ItemStack, par3EntityPlayer) || par3EntityPlayer.isSneaking())
|
||||
if (!EnergyItems.checkAndSetItemOwner(par1ItemStack, par3EntityPlayer) || par3EntityPlayer.isSneaking())
|
||||
{
|
||||
return par1ItemStack;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue