mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Whooooops
This commit is contained in:
parent
a1c852fba2
commit
a0e9b9ccfa
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public class TileEntityAtomicReconstructor extends TileEntityBase implements IEn
|
|||
for(int reachY = -range; reachY < range+1; reachY++){
|
||||
if(this.storage.getEnergyStored() >= baseUse){
|
||||
WorldPos pos = new WorldPos(worldObj, coordsBlock.getX()+reachX, coordsBlock.getY()+reachY, coordsBlock.getZ()+reachZ);
|
||||
ReconstructorRecipeHandler.Recipe recipe = ReconstructorRecipeHandler.getRecipe(new ItemStack(pos.getBlock(), pos.getMetadata()));
|
||||
ReconstructorRecipeHandler.Recipe recipe = ReconstructorRecipeHandler.getRecipe(new ItemStack(pos.getBlock(), 1, pos.getMetadata()));
|
||||
if(recipe != null && this.storage.getEnergyStored() >= baseUse+recipe.energyUse){
|
||||
ItemStack output = recipe.getFirstOutput();
|
||||
if(output != null){
|
||||
|
|
Loading…
Reference in a new issue