Imperfect ritual system hopefully works correctly now
This commit is contained in:
parent
92bf7cc35b
commit
d285736ca9
9 changed files with 18 additions and 8 deletions
|
@ -20,7 +20,7 @@ public class TileImperfectRitualStone extends TileEntity implements IImperfectRi
|
|||
@Override
|
||||
public boolean performRitual(World world, BlockPos pos, ImperfectRitual imperfectRitual, EntityPlayer player) {
|
||||
|
||||
if (imperfectRitual != null) {
|
||||
if (imperfectRitual != null && ImperfectRitualRegistry.ritualEnabled(imperfectRitual)) {
|
||||
System.out.println(imperfectRitual.toString());
|
||||
NetworkHelper.getSoulNetwork(player.getDisplayNameString(), world).syphonAndDamage(imperfectRitual.getActivationCost());
|
||||
return imperfectRitual.onActivate(this, player);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue