From cb377f88abc2ea5e62db59a316be151497ffee4f Mon Sep 17 00:00:00 2001 From: "Aidan C. Brady" Date: Thu, 19 Feb 2015 09:15:56 -0500 Subject: [PATCH] Fixed duplicate method --- .../mekanism/common/util/MekanismUtils.java | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/main/java/mekanism/common/util/MekanismUtils.java b/src/main/java/mekanism/common/util/MekanismUtils.java index ea57deaea..d3b23acdc 100644 --- a/src/main/java/mekanism/common/util/MekanismUtils.java +++ b/src/main/java/mekanism/common/util/MekanismUtils.java @@ -673,30 +673,6 @@ public final class MekanismUtils return def * Math.pow(general.maxUpgradeMultiplier, numUpgrades/(float)Upgrade.ENERGY.getMax()); } - /** - * A better "isBlockIndirectlyGettingPowered()" that doesn't load chunks - * @param world - the world to perform the check in - * @param coord - the coordinate of the block performing the check - * @return if the block is indirectly getting powered by LOADED chunks - */ - public static boolean isGettingPowered(World world, Coord4D coord) - { - for(ForgeDirection side : ForgeDirection.VALID_DIRECTIONS) - { - Coord4D sideCoord = coord.getFromSide(side); - - if(sideCoord.exists(world)) - { - if(world.getIndirectPowerLevelTo(sideCoord.xCoord, sideCoord.yCoord, sideCoord.zCoord, side.ordinal()) > 0) - { - return true; - } - } - } - - return false; - } - /** * A better "isBlockIndirectlyGettingPowered()" that doesn't load chunks * @param world - the world to perform the check in