parent
5864de8328
commit
3df464812d
2 changed files with 1 additions and 2 deletions
|
@ -84,7 +84,6 @@ public class TileFilter extends TileFilterable implements IFilterable
|
||||||
Vector3 checkBelow = position.clone().translate(ForgeDirection.DOWN);
|
Vector3 checkBelow = position.clone().translate(ForgeDirection.DOWN);
|
||||||
|
|
||||||
Block bAbove = Block.blocksList[checkAbove.getBlockID(worldObj)];
|
Block bAbove = Block.blocksList[checkAbove.getBlockID(worldObj)];
|
||||||
Block bBelow = Block.blocksList[checkAbove.getBlockID(worldObj)];
|
|
||||||
|
|
||||||
if (bAbove instanceof BlockFluidMixture && (worldObj.isAirBlock(checkBelow.intX(), checkBelow.intY(), checkBelow.intZ()) || checkBelow.getTileEntity(worldObj) instanceof IFluidHandler))
|
if (bAbove instanceof BlockFluidMixture && (worldObj.isAirBlock(checkBelow.intX(), checkBelow.intY(), checkBelow.intZ()) || checkBelow.getTileEntity(worldObj) instanceof IFluidHandler))
|
||||||
{
|
{
|
||||||
|
|
|
@ -360,7 +360,7 @@ public class ResourceGenerator implements IVirtualObject
|
||||||
|
|
||||||
public static String getName(ItemStack itemStack)
|
public static String getName(ItemStack itemStack)
|
||||||
{
|
{
|
||||||
return LanguageUtility.decapitalizeFirst(OreDictionary.getOreName(OreDictionary.getOreID(itemStack)).replace("dust", "").replace("ore", "").replace("ingot", ""));
|
return LanguageUtility.decapitalizeFirst(OreDictionary.getOreName(OreDictionary.getOreID(itemStack)).replace("dirtyDust", "").replace("dust", "").replace("ore", "").replace("ingot", ""));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int getColor(String name)
|
public static int getColor(String name)
|
||||||
|
|
Loading…
Reference in a new issue