Typo requirePylongBlocks
This commit is contained in:
parent
e4a857c415
commit
b38b6f6530
1 changed files with 3 additions and 3 deletions
6
me/cache/SpatialPylonCache.java
vendored
6
me/cache/SpatialPylonCache.java
vendored
|
@ -75,7 +75,7 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
|
|||
int reqX = 0;
|
||||
int reqY = 0;
|
||||
int reqZ = 0;
|
||||
int requirePylongBlocks = 1;
|
||||
int requirePylonBlocks = 1;
|
||||
|
||||
double minPower = 0;
|
||||
double maxPower = 0;
|
||||
|
@ -157,9 +157,9 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
|
|||
reqX = captureMax.x - captureMin.x;
|
||||
reqY = captureMax.y - captureMin.y;
|
||||
reqZ = captureMax.z - captureMin.z;
|
||||
requirePylongBlocks = Math.max( 6, ((reqX * reqZ + reqX * reqY + reqY * reqZ) * 3) / 8 );
|
||||
requirePylonBlocks = Math.max( 6, ((reqX * reqZ + reqX * reqY + reqY * reqZ) * 3) / 8 );
|
||||
|
||||
efficiency = (double) pylonBlocks / (double) requirePylongBlocks;
|
||||
efficiency = (double) pylonBlocks / (double) requirePylonBlocks;
|
||||
|
||||
if ( efficiency > 1.0 )
|
||||
efficiency = 1.0;
|
||||
|
|
Loading…
Reference in a new issue