Blend fix

This commit is contained in:
Anuken 2019-04-16 20:31:40 -04:00
parent 5f89a1b9ca
commit 4eee472043

View File

@ -153,7 +153,7 @@ public class Floor extends Block{
}
protected boolean doEdge(Floor other, boolean sameLayer){
return (other != this) && (other.cacheLayer.ordinal() > this.cacheLayer.ordinal() || !sameLayer);
return (other.blendGroup.id > blendGroup.id || edges() == null) && other.edgeOnto(this) && (other.cacheLayer.ordinal() > this.cacheLayer.ordinal() || !sameLayer);
}
protected boolean edgeOnto(Floor other){