Now render the correct texture for sub-mod pipes

This commit is contained in:
Krapht 2012-07-25 20:22:02 +02:00
parent 723fec37a0
commit 1f29062a78

View file

@ -185,6 +185,7 @@ public class TileGenericPipe extends TileEntity implements IPowerReceptor, ITank
}
// Pipe Textures
renderState.setTextureFile(pipe.getTextureFile());
for(Orientations o: Orientations.values()){
renderState.textureMatrix.setTextureIndex(o, pipe.getTextureIndex(o));
}