getFirstHit fix

This commit is contained in:
drPepper 2014-08-08 20:52:26 +04:00
parent c22c75cd1e
commit 9657300764

View file

@ -649,9 +649,6 @@ public class TileEntityLaser extends TileEntity implements IPeripheral
case 3: // getFirstHit() case 3: // getFirstHit()
if (firstHit != null) if (firstHit != null)
{ {
int blockID = hitBlockId;
int blockMeta = hitBlockMeta;
float blockResistance = hitBlockResistance;
Object[] info = { hitX, hitY, hitZ, hitBlockId, hitBlockMeta, (Float)hitBlockResistance }; Object[] info = { hitX, hitY, hitZ, hitBlockId, hitBlockMeta, (Float)hitBlockResistance };
return info; return info;
} }