Fix breaking fx for submod pipes

This commit is contained in:
Krapht 2013-04-01 01:31:33 +02:00
parent 2095731772
commit cb8602439f

View file

@ -936,7 +936,7 @@ public class BlockGenericPipe extends BlockContainer {
Pipe pipe = getPipe(worldObj, x, y, z); Pipe pipe = getPipe(worldObj, x, y, z);
if (pipe == null) return false; if (pipe == null) return false;
Icon icon = BuildCraftTransport.instance.pipeIconProvider.getIcon(pipe.getIconIndexForItem()); Icon icon = pipe.getIconProvider().getIcon(pipe.getIconIndexForItem());
int sideHit = target.sideHit; int sideHit = target.sideHit;
@ -996,7 +996,7 @@ public class BlockGenericPipe extends BlockContainer {
Pipe pipe = getPipe(worldObj, x, y, z); Pipe pipe = getPipe(worldObj, x, y, z);
if (pipe == null) return false; if (pipe == null) return false;
Icon icon = BuildCraftTransport.instance.pipeIconProvider.getIcon(pipe.getIconIndexForItem()); Icon icon = pipe.getIconProvider().getIcon(pipe.getIconIndexForItem());
byte its = 4; byte its = 4;
for (int i = 0; i < its; ++i) { for (int i = 0; i < its; ++i) {