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:
committed by
GitHub
parent
af64e4f021
commit
d9d247f9f7
@@ -164,6 +164,11 @@ public class ProductionBlocks{
|
||||
tryDump(tile);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isLayer(Tile tile){
|
||||
return tile.floor().drops == null;
|
||||
}
|
||||
},
|
||||
coalgenerator = new ItemPowerGenerator("coalgenerator"){
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user