Fixed a bug where the Bricked Blast Furnace didn't need a casing.

I forgot to actually implement checking whether the casing blocks are
Firerick blocks.
This commit is contained in:
Johannes Gäßler 2017-06-29 00:29:06 +02:00
parent 4061f8f397
commit 6a9e0756d6

View file

@ -1,5 +1,6 @@
package gregtech.common.tileentities.machines.multi;
import gregtech.api.GregTech_API;
import gregtech.api.enums.Textures;
import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
@ -42,12 +43,12 @@ public class GT_MetaTileEntity_BrickedBlastFurnace extends GT_MetaTileEntity_Pri
@Override
protected boolean isCorrectCasingBlock(Block block) {
return true;
return block == GregTech_API.sBlockCasings4;
}
@Override
protected boolean isCorrectCasingMetaID(int metaID) {
return true;
return metaID == 15;
}
@Override