IBloodAltar cleanup
This commit is contained in:
parent
76f9d83e4b
commit
b20359ac48
|
@ -6,7 +6,7 @@ import WayofTime.alchemicalWizardry.api.rituals.RitualComponent;
|
||||||
import WayofTime.alchemicalWizardry.api.rituals.RitualEffect;
|
import WayofTime.alchemicalWizardry.api.rituals.RitualEffect;
|
||||||
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
|
import WayofTime.alchemicalWizardry.api.soulNetwork.SoulNetworkHandler;
|
||||||
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellHelper;
|
import WayofTime.alchemicalWizardry.common.spell.complex.effect.SpellHelper;
|
||||||
import WayofTime.alchemicalWizardry.common.tileEntity.TEAltar;
|
import WayofTime.alchemicalWizardry.api.tile.IBloodAltar;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ public class RitualEffectFeatheredKnife extends RitualEffect
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
TEAltar tileAltar = null;
|
IBloodAltar tileAltar = null;
|
||||||
boolean testFlag = false;
|
boolean testFlag = false;
|
||||||
|
|
||||||
for (int i = -5; i <= 5; i++)
|
for (int i = -5; i <= 5; i++)
|
||||||
|
@ -51,7 +51,7 @@ public class RitualEffectFeatheredKnife extends RitualEffect
|
||||||
{
|
{
|
||||||
for (int k = -10; k <= 10; k++)
|
for (int k = -10; k <= 10; k++)
|
||||||
{
|
{
|
||||||
if (world.getTileEntity(x + i, y + k, z + j) instanceof TEAltar)
|
if (world.getTileEntity(x + i, y + k, z + j) instanceof IBloodAltar)
|
||||||
{
|
{
|
||||||
tileAltar = (TEAltar) world.getTileEntity(x + i, y + k, z + j);
|
tileAltar = (TEAltar) world.getTileEntity(x + i, y + k, z + j);
|
||||||
testFlag = true;
|
testFlag = true;
|
||||||
|
|
Loading…
Reference in a new issue