Fix TEBelljar and #433

This commit is contained in:
Arcaratus committed 2015-08-27 13:02:14 -04:00
1 parent cd34cb30e8
commit a36c514b63
9 files changed
+25 -25

No files matched your search

@@ -19,7 +19,7 @@ import WayofTime.alchemicalWizardry.ModBlocks;
import WayofTime.alchemicalWizardry.api.alchemy.energy.Reagent;
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentContainer;
import WayofTime.alchemicalWizardry.api.alchemy.energy.ReagentRegistry;
import WayofTime.alchemicalWizardry.common.tileEntity.TEBellJar;
import WayofTime.alchemicalWizardry.common.tileEntity.TEBelljar;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -77,12 +77,12 @@ public class BlockBelljar extends BlockContainer
{
TileEntity tile = world.getTileEntity(x, y, z);
if (tile instanceof TEBellJar)
if (tile instanceof TEBelljar)
{
NBTTagCompound tag = stack.getTagCompound();
if (tag != null)
{
((TEBellJar) tile).readTankNBTOnPlace(tag);
((TEBelljar) tile).readTankNBTOnPlace(tag);
}
}
}
@@ -90,7 +90,7 @@ public class BlockBelljar extends BlockContainer
@Override
public TileEntity createNewTileEntity(World world, int meta)
{
return new TEBellJar();
return new TEBelljar();
}
@Override
@@ -127,9 +127,9 @@ public class BlockBelljar extends BlockContainer
public int getComparatorInputOverride(World world, int x, int y, int z, int meta)
{
TileEntity tile = world.getTileEntity(x, y, z);
if (tile instanceof TEBellJar)
if (tile instanceof TEBelljar)
{
return ((TEBellJar) tile).getRSPowerOutput();
return ((TEBelljar) tile).getRSPowerOutput();
}
return 15;
}
@@ -148,11 +148,11 @@ public class BlockBelljar extends BlockContainer
TileEntity tile = world.getTileEntity(x, y, z);
if (tile instanceof TEBellJar)
if (tile instanceof TEBelljar)
{
ItemStack drop = new ItemStack(this);
NBTTagCompound tag = new NBTTagCompound();
((TEBellJar) tile).writeTankNBT(tag);
((TEBelljar) tile).writeTankNBT(tag);
drop.setTagCompound(tag);
list.add(drop);