v4.2.2 Beta #2
*Fixed BuildCraft energy injection. *Removed unneeded import. *Removed unused textureIndex field in BlockMachine.
This commit is contained in:
parent
e12825cccc
commit
b8781cc3e4
2 changed files with 1 additions and 4 deletions
|
@ -3,7 +3,6 @@ package net.uberkat.obsidian.common;
|
|||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.Side;
|
||||
import cpw.mods.fml.common.asm.SideOnly;
|
||||
import net.minecraft.src.*;
|
||||
|
@ -23,8 +22,6 @@ public class BlockMachine extends BlockContainer
|
|||
{
|
||||
public Random machineRand = new Random();
|
||||
|
||||
public int textureIndex = 32;
|
||||
|
||||
public BlockMachine(int id)
|
||||
{
|
||||
super(id, Material.iron);
|
||||
|
|
|
@ -121,7 +121,7 @@ public class TileEntityPowerUnit extends TileEntityDisableable implements IInven
|
|||
|
||||
if(powerProvider != null)
|
||||
{
|
||||
int received = (int)(powerProvider.useEnergy(25, 25, true)*100);
|
||||
int received = (int)(powerProvider.useEnergy(25, 25, true)*10);
|
||||
setEnergy(energyStored + received);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue