mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 12:38:05 +07:00
Fixed #6282
This commit is contained in:
parent
72e3461745
commit
f5c09845ae
@ -95,7 +95,7 @@ public class PayloadConveyor extends Block{
|
||||
public void onProximityUpdate(){
|
||||
super.onProximityUpdate();
|
||||
|
||||
Building accept = nearby(Geometry.d4(rotation).x * size, Geometry.d4(rotation).y * size);
|
||||
Building accept = nearby(Geometry.d4(rotation).x * (size/2+1), Geometry.d4(rotation).y * (size/2+1));
|
||||
//next block must be aligned and of the same size
|
||||
if(accept != null && (
|
||||
//same size
|
||||
|
Loading…
Reference in New Issue
Block a user