More work on the implementation of events

This commit is contained in:
WayofTime 2014-11-07 13:45:02 -05:00
parent dd3a093825
commit 39b4243a82
27 changed files with 217 additions and 259 deletions

View file

@ -100,8 +100,11 @@ public class SpellParadigmTool extends SpellParadigm
}
int cost = this.getTotalCost();
EnergyItems.syphonBatteries(crystal, entityPlayer, cost);
if(!EnergyItems.syphonBatteries(crystal, entityPlayer, cost))
{
return;
}
ItemStack toolStack = this.prepareTool(crystal, world);