Fixed buildConnections crash with ForgeDirection