Fixed laser tree farm intermittent CC script crash
This commit is contained in:
parent
0611016533
commit
8de46d5ee3
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ public class TileEntityLaserTreeFarm extends TileEntityAbstractMiner {
|
|||
int energy = getEnergyStored();
|
||||
String status = getStatus();
|
||||
Integer retValuables, retValuablesIndex;
|
||||
if (isFarming()) {
|
||||
if (isFarming() && valuables != null) {
|
||||
retValuables = valuables.size();
|
||||
retValuablesIndex = valuableIndex;
|
||||
|
||||
|
|
Loading…
Reference in a new issue