Fixed hardcoded texturefile

This commit is contained in:
Krapht 2012-07-16 17:48:06 +02:00
parent 6138cd3811
commit 68a911f36a

View file

@ -485,7 +485,7 @@ public class BlockGenericPipe extends BlockContainer implements ITextureProvider
Pipe dummyPipe = createPipe(item.shiftedIndex); Pipe dummyPipe = createPipe(item.shiftedIndex);
if (dummyPipe != null){ if (dummyPipe != null){
item.setTextureFile(DefaultProps.TEXTURE_BLOCKS); item.setTextureFile(dummyPipe.getTextureFile());
item.setTextureIndex(dummyPipe.getTextureIndexForItem()); item.setTextureIndex(dummyPipe.getTextureIndexForItem());
} }