scanning laser minor fix
This commit is contained in:
parent
7401f87b8b
commit
e22dd05dac
1 changed files with 3 additions and 1 deletions
|
@ -160,7 +160,9 @@ public class TileEntityLaser extends TileEntity implements IPeripheral
|
|||
|
||||
if (firstHit != null)
|
||||
{
|
||||
sendLaserPacket(beamVector, new Vector3(firstHit), r, g, b, 50, energy, 200);
|
||||
sendLaserPacket(beamVector, new Vector3(firstHit.hitVec), r, g, b, 50, energy, 200);
|
||||
} else {
|
||||
sendLaserPacket(beamVector, reachPoint, r, g, b, 50, energy, 200);
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue