Fix breaking fx for submod pipes
This commit is contained in:
parent
2095731772
commit
cb8602439f
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue