Reverted fix for #9257
This commit is contained in:
@@ -426,12 +426,14 @@ public class ItemBridge extends Block{
|
|||||||
var facing = Edges.getFacingEdge(source, this);
|
var facing = Edges.getFacingEdge(source, this);
|
||||||
int rel2 = facing == null ? -1 : relativeTo(facing);
|
int rel2 = facing == null ? -1 : relativeTo(facing);
|
||||||
|
|
||||||
|
//this is a bug, but it is kept for compatibility, see: https://github.com/Anuken/Mindustry/issues/9257#issuecomment-1801998747
|
||||||
|
/*
|
||||||
for(int j = 0; j < incoming.size; j++){
|
for(int j = 0; j < incoming.size; j++){
|
||||||
int v = incoming.items[j];
|
int v = incoming.items[j];
|
||||||
if(relativeTo(Point2.x(v), Point2.y(v)) == rel2){
|
if(relativeTo(Point2.x(v), Point2.y(v)) == rel2){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
return rel != rel2;
|
return rel != rel2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user