mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-28 07:35:49 +00:00
More work on the implementation of events
This commit is contained in:
1 parent
dd3a093825
commit
39b4243a82
27 files changed
+217
-259
No files matched your search
@@ -74,7 +74,10 @@ public class BlankSpell extends EnergyItems
|
||||
|
||||
if (homHeart.canCastSpell(par1ItemStack, par2World, par3EntityPlayer))
|
||||
{
|
||||
EnergyItems.syphonBatteries(par1ItemStack, par3EntityPlayer, homHeart.castSpell(par1ItemStack, par2World, par3EntityPlayer));
|
||||
if(EnergyItems.syphonBatteries(par1ItemStack, par3EntityPlayer, homHeart.getCostForSpell()))
|
||||
{
|
||||
EnergyItems.syphonBatteries(par1ItemStack, par3EntityPlayer, homHeart.castSpell(par1ItemStack, par2World, par3EntityPlayer));
|
||||
}
|
||||
} else
|
||||
{
|
||||
return par1ItemStack;
|
||||
|
||||
Reference in new issue
Block a user