mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 07:07:03 +07:00
Removed redundant Block#isVisible code
This commit is contained in:
parent
056afa572e
commit
8da18984d2
@ -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();
|
||||
|
@ -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(){
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=dceddb4ef95457fa391562dd1a23ee6071ebce68
|
||||
archash=0e5096b145f78d010ee30ea9730d98e42257d705
|
||||
|
Loading…
Reference in New Issue
Block a user