Getting more spell stuff done
This commit is contained in:
parent
9d9d376e4a
commit
b34ff3c58e
78 changed files with 1133 additions and 159 deletions
|
@ -5,6 +5,7 @@ import WayofTime.alchemicalWizardry.ModBlocks;
|
|||
import WayofTime.alchemicalWizardry.ModItems;
|
||||
import WayofTime.alchemicalWizardry.common.rituals.RitualComponent;
|
||||
import WayofTime.alchemicalWizardry.common.rituals.Rituals;
|
||||
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellHelper;
|
||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
@ -125,6 +126,12 @@ public class ItemRitualDiviner extends EnergyItems
|
|||
public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10)
|
||||
{
|
||||
EnergyItems.checkAndSetItemOwner(par1ItemStack, par2EntityPlayer);
|
||||
|
||||
if(SpellHelper.isFakePlayer(par2EntityPlayer.worldObj, par2EntityPlayer))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
ItemStack[] playerInventory = par2EntityPlayer.inventory.mainInventory;
|
||||
TileEntity tileEntity = par3World.getBlockTileEntity(par4, par5, par6);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue