Update AlloySmelter to new system

This commit is contained in:
modmuss50 2016-04-12 08:39:50 +01:00
parent 23d55e6251
commit 4fccaa1f5f
3 changed files with 54 additions and 18 deletions

View file

@ -5,6 +5,7 @@ import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.translation.I18n;
import reborncore.common.container.RebornContainer;
import techreborn.client.container.ContainerAlloySmelter;
import techreborn.tiles.TileAlloySmelter;
@ -18,7 +19,7 @@ public class GuiAlloySmelter extends GuiContainer
public GuiAlloySmelter(EntityPlayer player, TileAlloySmelter tilealloysmelter)
{
super(new ContainerAlloySmelter(tilealloysmelter, player));
super(RebornContainer.createContainer(ContainerAlloySmelter.class, tilealloysmelter, player));
this.xSize = 176;
this.ySize = 167;
alloysmelter = tilealloysmelter;