Removed redundant Block#isVisible code

This commit is contained in:
Anuken 2020-12-17 12:38:22 -05:00
parent 056afa572e
commit 8da18984d2
3 changed files with 2 additions and 3 deletions

View File

@ -215,7 +215,6 @@ abstract class BuilderComp implements Posc, Teamc, Rotc{
public void draw(){
if(!activelyBuilding()) return;
//TODO check correctness
Draw.z(Layer.flyingUnit);
BuildPlan plan = buildPlan();

View File

@ -522,7 +522,7 @@ public class Block extends UnlockableContent{
}
public boolean isVisible(){
return (buildVisibility.visible() || state.rules.revealedBlocks.contains(this)) && !isHidden();
return !isHidden();
}
public boolean isPlaceable(){

View File

@ -1,3 +1,3 @@
org.gradle.daemon=true
org.gradle.jvmargs=-Xms256m -Xmx1024m
archash=dceddb4ef95457fa391562dd1a23ee6071ebce68
archash=0e5096b145f78d010ee30ea9730d98e42257d705