Some fixes for #242

This commit is contained in:
Modmuss50 2015-11-11 15:24:13 +00:00
parent 7135075ac6
commit 47a466ef21
6 changed files with 19 additions and 8 deletions

View file

@ -47,7 +47,7 @@ public class GuiGrinder extends GuiContainer {
if (grinder.getMutliBlock() != true) {
GuiDraw.drawTooltipBox(k + 30, l + 50 + 12 - j, 114, 10);
this.fontRendererObj.drawString(ModInfo.MISSING_MULTIBLOCK, k + 38, l + 52 + 12 - j, -1);
this.fontRendererObj.drawString(StatCollector.translateToLocal("techreborn.message.missingmultiblock"), k + 38, l + 52 + 12 - j, -1);
}
if (grinder.tank.getFluidAmount() != 0) {

View file

@ -46,7 +46,7 @@ public class GuiImplosionCompressor extends GuiContainer {
if (compresser.getMutliBlock() != true) {
GuiDraw.drawTooltipBox(k + 30, l + 50 + 12 - j, 114, 10);
this.fontRendererObj.drawString(ModInfo.MISSING_MULTIBLOCK, k + 38, l + 52 + 12 - j, -1);
this.fontRendererObj.drawString(StatCollector.translateToLocal("techreborn.message.missingmultiblock"), k + 38, l + 52 + 12 - j, -1);
}
this.drawTexturedModalRect(k + 60, l + 38, 176, 14, j + 1, 16);

View file

@ -74,7 +74,7 @@ public class GuiIndustrialSawmill extends GuiContainer {
if (sawmill.getMutliBlock() != true) {
GuiUtil.drawTooltipBox(k + 30, l + 50 + 12 - 0, 114, 10);
this.fontRendererObj.drawString(ModInfo.MISSING_MULTIBLOCK, k + 38, l + 52 + 12 - 0, -1);
this.fontRendererObj.drawString(StatCollector.translateToLocal("techreborn.message.missingmultiblock"), k + 38, l + 52 + 12 - 0, -1);
}
}

View file

@ -13,8 +13,6 @@ public class ModInfo implements IModInfo {
public static final String CLIENT_PROXY_CLASS = "techreborn.proxies.ClientProxy";
public static final String GUI_FACTORY_CLASS = "techreborn.config.TechRebornGUIFactory";
public static final String MISSING_MULTIBLOCK = StatCollector.translateToLocal("techreborn.message.missingmultiblock");
@Override
public String MOD_NAME() {
return MOD_NAME;

View file

@ -123,7 +123,7 @@ public class TileIndustrialSawmill extends TilePowerAcceptor implements IWrencha
tank.writeToNBT(tagCompound);
crafter.writeToNBT(tagCompound);
}
/* IFluidHandler */
@Override
public int fill(ForgeDirection from, FluidStack resource, boolean doFill) {