It compiles. Somehow.

This commit is contained in:
Nicholas Ignoffo 2017-08-15 20:21:54 -07:00
parent 554c9852e6
commit 348fee1e2a
150 changed files with 1029 additions and 2186 deletions

View file

@ -3,6 +3,7 @@ package WayofTime.bloodmagic.tile;
import java.util.ArrayList;
import java.util.List;
import WayofTime.bloodmagic.api.orb.BloodOrb;
import net.minecraft.block.state.IBlockState;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.ItemStack;
@ -307,7 +308,8 @@ public class TileAlchemyTable extends TileInventory implements ISidedInventory,
{
if (orbStack.getItem() instanceof IBloodOrb)
{
return ((IBloodOrb) orbStack.getItem()).getOrbLevel(orbStack.getMetadata());
BloodOrb orb = ((IBloodOrb) orbStack.getItem()).getOrb(orbStack);
return orb == null ? 0 : orb.getTier();
}
}