Skip to content

Commit

Permalink
Fixed derpiness of connected textures.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alix_the_Alicorn/Jmanpenilla committed Mar 15, 2014
1 parent ca4dfc6 commit c7b0870
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/main/java/tconstruct/blocks/GlassBlockConnected.java
Expand Up @@ -15,7 +15,7 @@

/**
* @author fuj1n
*
* @author jmanpenilla aka Alix_The_Alicorn
*/

public class GlassBlockConnected extends MantleBlock
Expand Down Expand Up @@ -371,11 +371,11 @@ else if (isOpenRight)
}
else if (isOpenUp && isOpenDown && isOpenLeft)
{
return icons[14];
return icons[13];
}
else if (isOpenUp && isOpenDown && isOpenRight)
{
return icons[13];
return icons[14];
}
else if (isOpenUp && isOpenLeft && isOpenRight)
{
Expand All @@ -395,19 +395,19 @@ else if (isOpenLeft && isOpenRight)
}
else if (isOpenDown && isOpenLeft)
{
return icons[10];
return icons[9];
}
else if (isOpenDown && isOpenRight)
{
return icons[9];
return icons[10];
}
else if (isOpenUp && isOpenLeft)
{
return icons[8];
return icons[7];
}
else if (isOpenUp && isOpenRight)
{
return icons[7];
return icons[8];
}
else if (isOpenDown)
{
Expand All @@ -419,11 +419,11 @@ else if (isOpenUp)
}
else if (isOpenLeft)
{
return icons[3];
return icons[4];
}
else if (isOpenRight)
{
return icons[4];
return icons[3];
}
break;
case 4:
Expand Down Expand Up @@ -535,11 +535,11 @@ else if (isOpenRight)
}
else if (isOpenUp && isOpenDown && isOpenLeft)
{
return icons[13];
return icons[14];
}
else if (isOpenUp && isOpenDown && isOpenRight)
{
return icons[14];
return icons[13];
}
else if (isOpenUp && isOpenLeft && isOpenRight)
{
Expand All @@ -559,19 +559,19 @@ else if (isOpenLeft && isOpenRight)
}
else if (isOpenDown && isOpenLeft)
{
return icons[9];
return icons[10];
}
else if (isOpenDown && isOpenRight)
{
return icons[10];
return icons[9];
}
else if (isOpenUp && isOpenLeft)
{
return icons[7];
return icons[8];
}
else if (isOpenUp && isOpenRight)
{
return icons[8];
return icons[7];
}
else if (isOpenDown)
{
Expand All @@ -583,11 +583,11 @@ else if (isOpenUp)
}
else if (isOpenLeft)
{
return icons[4];
return icons[3];
}
else if (isOpenRight)
{
return icons[3];
return icons[4];
}
break;
}
Expand Down

0 comments on commit c7b0870

Please sign in to comment.