remove isPoweredTile

This commit is contained in:
mezz committed 2014-09-25 03:04:25 -07:00
1 parent a8f4cf0e5c
commit 730c08332e
1 file changed
-15
@@ -147,21 +147,6 @@ public class BlockUtil {
return false;
}
/**
* @deprecated To be removed when MJ is gone. Use {@link #isRFTile} for now.
*/
@Deprecated
public static boolean isPoweredTile(ForgeDirection side, TileEntity tile) {
if (tile == null)
return false;
if (!(tile instanceof IPowerReceptor))
return false;
IPowerReceptor receptor = (IPowerReceptor) tile;
return receptor.getPowerReceiver(side) != null;
}
public static boolean isRFTile(ForgeDirection side, TileEntity tile) {
if (tile == null)
return false;