Fixed crash when placing matter fab
This commit is contained in:
parent
51071be80c
commit
6648868944
1 changed files with 9 additions and 1 deletions
|
@ -4,6 +4,7 @@ import ic2.api.energy.tile.IEnergyTile;
|
|||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import techreborn.config.ConfigTechReborn;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.util.Inventory;
|
||||
import ic2.api.energy.prefab.BasicSink;
|
||||
|
@ -14,7 +15,14 @@ public class TileMatterFabricator extends TileMachineBase implements IWrenchable
|
|||
public int tickTime;
|
||||
public BasicSink energy;
|
||||
public Inventory inventory = new Inventory(7, "TileMatterFabricator", 64);
|
||||
|
||||
|
||||
public TileMatterFabricator() {
|
||||
//TODO configs
|
||||
energy = new BasicSink(this, 1000,
|
||||
ConfigTechReborn.CentrifugeTier);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public boolean wrenchCanSetFacing(EntityPlayer entityPlayer, int side)
|
||||
|
|
Loading…
Add table
Reference in a new issue