mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-22 21:09:44 +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
+5
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user