mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-10-31 22:50:50 +01:00
Little tiny change
This commit is contained in:
parent
64966ad66e
commit
5db240b6ad
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ public class ItemRarmorModuleReconstructor extends ItemBase implements IRarmorMo
|
||||||
|
|
||||||
int energyUse = TileEntityAtomicReconstructor.ENERGY_USE*2;
|
int energyUse = TileEntityAtomicReconstructor.ENERGY_USE*2;
|
||||||
if(fake.getEnergy() >= energyUse){
|
if(fake.getEnergy() >= energyUse){
|
||||||
Lenses.LENS_CONVERSION.invoke(world.getBlockState(pos), pos, fake);
|
fake.getLens().invoke(world.getBlockState(pos), pos, fake);
|
||||||
|
|
||||||
EnumFacing hit = result.sideHit;
|
EnumFacing hit = result.sideHit;
|
||||||
TileEntityAtomicReconstructor.shootLaser(world, player.posX-player.width/2, player.posY+player.getYOffset()+player.getEyeHeight()/2, player.posZ-player.width/2, pos.getX()+hit.getFrontOffsetX(), pos.getY()+hit.getFrontOffsetY(), pos.getZ()+hit.getFrontOffsetZ(), Lenses.LENS_CONVERSION);
|
TileEntityAtomicReconstructor.shootLaser(world, player.posX-player.width/2, player.posY+player.getYOffset()+player.getEyeHeight()/2, player.posZ-player.width/2, pos.getX()+hit.getFrontOffsetX(), pos.getY()+hit.getFrontOffsetY(), pos.getZ()+hit.getFrontOffsetZ(), Lenses.LENS_CONVERSION);
|
||||||
|
|
Loading…
Reference in a new issue