Omnidrill will report unproductive base surface

In contrast with one-resource drill, the omnidrill is not reporting it has been placed on unproductive base surface (i.e. water, grass, sand, lava etc.). This change fixes this issue.
This commit is contained in:
Krzysztof Skrzętnicki
2017-12-30 22:03:01 +01:00
committed by GitHub
parent af64e4f021
commit d9d247f9f7

View File

@@ -164,6 +164,11 @@ public class ProductionBlocks{
tryDump(tile);
}
}
@Override
public boolean isLayer(Tile tile){
return tile.floor().drops == null;
}
},
coalgenerator = new ItemPowerGenerator("coalgenerator"){
{