Fix combustion engine GUI not rendering fluids properly
Same thing as the tank, block textures aren't in terrain.png any more!
This commit is contained in:
parent
108adc1a03
commit
a75604d371
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ import buildcraft.core.DefaultProps;
|
||||||
import buildcraft.core.utils.StringUtils;
|
import buildcraft.core.utils.StringUtils;
|
||||||
import buildcraft.energy.TileEngine;
|
import buildcraft.energy.TileEngine;
|
||||||
import buildcraft.energy.TileEngineIron;
|
import buildcraft.energy.TileEngineIron;
|
||||||
|
import net.minecraft.client.renderer.texture.TextureMap;
|
||||||
import net.minecraft.entity.player.InventoryPlayer;
|
import net.minecraft.entity.player.InventoryPlayer;
|
||||||
import net.minecraft.util.Icon;
|
import net.minecraft.util.Icon;
|
||||||
import net.minecraft.util.ResourceLocation;
|
import net.minecraft.util.ResourceLocation;
|
||||||
|
@ -21,7 +22,7 @@ import org.lwjgl.opengl.GL11;
|
||||||
public class GuiCombustionEngine extends GuiEngine {
|
public class GuiCombustionEngine extends GuiEngine {
|
||||||
|
|
||||||
private static final ResourceLocation TEXTURE = new ResourceLocation("buildcraft", DefaultProps.TEXTURE_PATH_GUI + "/combustion_engine_gui.png");
|
private static final ResourceLocation TEXTURE = new ResourceLocation("buildcraft", DefaultProps.TEXTURE_PATH_GUI + "/combustion_engine_gui.png");
|
||||||
private static final ResourceLocation BLOCK_TEXTURE = new ResourceLocation("/terrain.png");
|
private static final ResourceLocation BLOCK_TEXTURE = TextureMap.field_110575_b;
|
||||||
|
|
||||||
public GuiCombustionEngine(InventoryPlayer inventoryplayer, TileEngine tileEngine) {
|
public GuiCombustionEngine(InventoryPlayer inventoryplayer, TileEngine tileEngine) {
|
||||||
super(new ContainerEngine(inventoryplayer, tileEngine), tileEngine);
|
super(new ContainerEngine(inventoryplayer, tileEngine), tileEngine);
|
||||||
|
|
Loading…
Reference in a new issue